Historical version. PostgreSQL 9.5 has reached end of support. 2021-02-11. See the current manual.
ROLLBACK
Description
ROLLBACK rolls back the current transaction and causes all the updates made by the transaction to be discarded.
Notes
Use COMMIT to successfully terminate a transaction.
Issuing ROLLBACK outside of a transaction block emits a warning and otherwise has no effect.
Report a documentation issue
Read the upstream documentation. For corrections, first check the current manual.