postgresql_16:7.1.51.3 Notes
PostgreSQL 16 > Reference > SQL Commands > COMMIT > Notes
Use (see postgresql_16:7.1.165) to abort a transaction.
Issuing COMMIT when not inside a transaction does no harm, but it will provoke a warning message. COMMIT AND CHAIN when not inside a transaction is an error.