postgresql_16:7.1.1.3 Notes
PostgreSQL 16 > Reference > SQL Commands > ABORT > Notes
Use COMMIT (see postgresql_16:7.1.51) to successfully terminate a transaction.
Issuing ABORT outside of a transaction block emits a warning and otherwise has no effect.