Skip to content

END

Commits 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 WarehousePG extension that is equivalent to COMMIT.

Parameters ​

WORK | TRANSACTION ​

Optional keywords. They have no effect.

Examples ​

Commit the current transaction:

END;

Compatibility ​

END is a WarehousePG extension that provides functionality equivalent to COMMIT, which is specified in the SQL standard.

See Also ​

BEGIN, ROLLBACK, COMMIT

Parent topic: SQL Commands