END

Commits the current transaction.

Synopsis

  1. 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 HAWQ extension that is equivalent to COMMIT.

Parameters

WORK
TRANSACTION

Optional keywords. They have no effect.

Examples

Commit the current transaction:

  1. END;

Compatibility

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

See Also

BEGIN, ROLLBACK, COMMIT