END [ WORK | TRANSACTION ]
Optional keywords. They have no effect.
Message returned if the transaction is successfully committed.
If there is no transaction in progress.
END is a Postgres extension, and is a synonym for the SQL92-compatible COMMIT.
The keywords WORK and TRANSACTION are noise and can be omitted.
Use ROLLBACK to abort a transaction.
To make all changes permanent:
END is a PostgreSQL extension which provides functionality equivalent to COMMIT.