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 synonym for COMMIT.
The keywords WORK and TRANSACTION are noise and can be omitted.
Use ROLLBACK to abort a transaction.
To make all changes permanent:
END WORK;
END is a Postgres extension which provides functionality equivalent to COMMIT.