end 中文man页面

系统
END END 提交当前事务。 所有当前事务做的修改都可被其它事务看到并且保证在发生崩溃的情况下的持续性。 它是一个 PostgreSQL 的扩展,等效于 COMMIT [commit(7)].

NAME

END - 提交当前的事务

SYNOPSIS

END [ WORK | TRANSACTION ]

DESCRIPTION 描述

END END 提交当前事务。 所有当前事务做的修改都可被其它事务看到并且保证在发生崩溃的情况下的持续性。 它是一个 PostgreSQL 的扩展,等效于 COMMIT [commit(7)].  

PARAMETERS 参数

WORK
TRANSACTION

 可选关键字。没有作用。

NOTES 注意


 用 ROLLBACK [rollback(7)] 退出事务。


 如果不在一个事务块里发出 END 将不会有什么损害,但是它会生成一个警告信息。  

EXAMPLES 例子


 提交当前事务,令所有改变生效:

END;

COMPATIBILITY 兼容性

END 是 PostgreSQL 的扩展,提供与 COMMIT [commit(7)] 相同的功能, 后者是 SQL 标准声明的语句。  

SEE ALSO 参见

BEGIN [begin(7)], COMMIT [commit(l)], ROLLBACK [rollback(l)]

#p#

NAME

END - commit the current transaction

SYNOPSIS

END [ WORK | TRANSACTION ]

DESCRIPTION

END commits the current transaction. All changes made by the transaction become visible to others and are guaranteed to be durable if a crash occurs. This command is a PostgreSQL extension that is equivalent to COMMIT [commit(7)].  

PARAMETERS

WORK
TRANSACTION
Optional key words. They have no effect.

NOTES

Use ROLLBACK [rollback(7)] to abort a transaction.

Issuing END when not inside a transaction does no harm, but it will provoke a warning message.  

EXAMPLES

To commit the current transaction and make all changes permanent:

END;

COMPATIBILITY

END is a PostgreSQL extension that provides functionality equivalent to COMMIT [commit(7)], which is specified in the SQL standard.  

SEE ALSO

BEGIN [begin(7)], COMMIT [commit(l)], ROLLBACK [rollback(l)]

责任编辑:韩亚珊 来源: CMPP.net
相关推荐

2011-08-24 16:48:36

man中文man

2011-08-15 10:21:09

man中文man

2011-08-11 16:11:49

at中文man

2011-08-25 10:21:56

man.conf中文man

2011-08-25 16:47:37

fwrite中文man

2011-08-25 16:50:08

getc中文man

2011-08-25 16:52:54

getchar中文man

2011-08-25 17:03:51

pclose中文man

2011-08-25 16:22:29

fputc中文man

2011-08-25 16:28:50

fread中文man

2011-08-25 17:24:54

puts中文man

2011-08-25 17:27:58

rewind中文man

2011-08-25 17:32:40

setbuffer中文man

2011-08-25 16:10:52

fgets中文man

2011-08-25 17:20:37

putchar中文man

2011-08-25 15:54:08

ferror中文man

2011-08-23 17:09:56

telinit中文man

2011-08-23 18:00:21

LDP中文man

2011-08-23 17:42:39

vmstat中文man

2011-08-23 17:49:36

zdump中文man
点赞
收藏

51CTO技术栈公众号