1END(7)                  PostgreSQL 9.2.24 Documentation                 END(7)
2
3
4

NAME

6       END - commit the current transaction
7

SYNOPSIS

9       END [ WORK | TRANSACTION ]
10

DESCRIPTION

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

PARAMETERS

18       WORK, TRANSACTION
19           Optional key words. They have no effect.
20

NOTES

22       Use ROLLBACK(7) to abort a transaction.
23
24       Issuing END when not inside a transaction does no harm, but it will
25       provoke a warning message.
26

EXAMPLES

28       To commit the current transaction and make all changes permanent:
29
30           END;
31

COMPATIBILITY

33       END is a PostgreSQL extension that provides functionality equivalent to
34       COMMIT(7), which is specified in the SQL standard.
35

SEE ALSO

37       BEGIN(7), COMMIT(7), ROLLBACK(7)
38
39
40
41PostgreSQL 9.2.24                 2017-11-06                            END(7)
Impressum