{
    "content": [
        {
            "type": "text",
            "text": "# END (man)\n\n## NAME\n\nEND - commit the current transaction\n\n## SYNOPSIS\n\nEND [ WORK | TRANSACTION ] [ AND [ NO ] CHAIN ]\n\n## DESCRIPTION\n\nEND commits the current transaction. All changes made by the transaction become visible to\nothers and are guaranteed to be durable if a crash occurs. This command is a PostgreSQL\nextension that is equivalent to COMMIT.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **PARAMETERS**\n- **NOTES**\n- **EXAMPLES**\n- **COMPATIBILITY**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "END",
        "section": "",
        "mode": "man",
        "summary": "END - commit the current transaction",
        "synopsis": "END [ WORK | TRANSACTION ] [ AND [ NO ] CHAIN ]",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [
            "To commit the current transaction and make all changes permanent:",
            "END;"
        ],
        "see_also": [
            {
                "name": "BEGIN",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/BEGIN/7/json"
            },
            {
                "name": "COMMIT",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/COMMIT/7/json"
            },
            {
                "name": "ROLLBACK",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/ROLLBACK/7/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "PARAMETERS",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "NOTES",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "EXAMPLES",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "COMPATIBILITY",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "END - commit the current transaction\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "END [ WORK | TRANSACTION ] [ AND [ NO ] CHAIN ]\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "END commits the current transaction. All changes made by the transaction become visible to\nothers and are guaranteed to be durable if a crash occurs. This command is a PostgreSQL\nextension that is equivalent to COMMIT.\n",
                "subsections": []
            },
            "PARAMETERS": {
                "content": "WORK\nTRANSACTION\nOptional key words. They have no effect.\n\nAND CHAIN\nIf AND CHAIN is specified, a new transaction is immediately started with the same\ntransaction characteristics (see SET TRANSACTION (SETTRANSACTION(7))) as the just\nfinished one. Otherwise, no new transaction is started.\n",
                "subsections": []
            },
            "NOTES": {
                "content": "Use ROLLBACK to abort a transaction.\n\nIssuing END when not inside a transaction does no harm, but it will provoke a warning\nmessage.\n",
                "subsections": []
            },
            "EXAMPLES": {
                "content": "To commit the current transaction and make all changes permanent:\n\nEND;\n",
                "subsections": []
            },
            "COMPATIBILITY": {
                "content": "END is a PostgreSQL extension that provides functionality equivalent to COMMIT, which is\nspecified in the SQL standard.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "BEGIN(7), COMMIT(7), ROLLBACK(7)\n\n\n\nPostgreSQL 14.23                                2026                                          END(7)",
                "subsections": []
            }
        }
    }
}