END(7)
okay bestie, welcome to END(7) from the PostgreSQL 14.24 Documentation β yes, that's the manual name, we're folding it in right here at the top πβ¨
πΈ NAME πΈ
END β commit the current transaction, periodt π
π₯
π¦ SYNOPSIS π¦
END [ WORK | TRANSACTION ] [ AND [ NO ] CHAIN ]
π DESCRIPTION π
END commits the current transaction. All changes made by the transaction become visible to others and are guaranteed to be durable if a crash occurs. This command is a PostgreSQL extension that is equivalent to COMMIT. no cap, it's literally the same energy ππ
π PARAMETERS π
WORK,TRANSACTIONβ optional key words, and they have no effect. Like, none. Zero. Nada. π«ΆAND CHAINβ ifAND CHAINis specified, a new transaction is immediately started with the same transaction characteristics (seeSET TRANSACTION(SET_TRANSACTION(7))) as the just finished one. Otherwise, no new transaction is started. slay β¨
β¨ NOTES β¨
Use ROLLBACK to abort a transaction, bestie β that's the undo button π
π¨ okay so important vibe check: issuing END when not inside a transaction does no harm, but it will provoke a warning message. not me getting a warning for doing nothing ππ
π EXAMPLES π
To commit the current transaction and make all changes permanent:
END;
literally just that. iconic. π
π¦ COMPATIBILITY π¦
END is a PostgreSQL extension that provides functionality equivalent to COMMIT, which is specified in the SQL standard. so it's giving extension energy, iykyk π«
π SEE ALSO π
π that's the whole page, bestie β brought to you by PostgreSQL 14.24, dated 2026, and it's literally called END(7). go commit something iconic β¨ππ«Ά
π¦ where this page comes from
- opensuse-leap 16.0: postgresql14 14.24-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql14 14.24-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql14 14.24-160000.1.1 Β· PostgreSQL
- opensuse-leap 16.0: postgresql14 14.24-160000.1.1 Β· PostgreSQL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms