{
    "content": [
        {
            "type": "text",
            "text": "# START_TRANSACTION (man)\n\n## NAME\n\nSTARTTRANSACTION - start a transaction block\n\n## SYNOPSIS\n\nSTART TRANSACTION [ transactionmode [, ...] ]\nwhere transactionmode is one of:\nISOLATION LEVEL { SERIALIZABLE | REPEATABLE READ | READ COMMITTED | READ UNCOMMITTED }\nREAD WRITE | READ ONLY\n[ NOT ] DEFERRABLE\n\n## DESCRIPTION\n\nThis command begins a new transaction block. If the isolation level, read/write mode, or\ndeferrable mode is specified, the new transaction has those characteristics, as if SET\nTRANSACTION was executed. This is the same as the BEGIN command.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **PARAMETERS**\n- **COMPATIBILITY**\n- **SEE ALSO**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "START_TRANSACTION",
        "section": "",
        "mode": "man",
        "summary": "STARTTRANSACTION - start a transaction block",
        "synopsis": "START TRANSACTION [ transactionmode [, ...] ]\nwhere transactionmode is one of:\nISOLATION LEVEL { SERIALIZABLE | REPEATABLE READ | READ COMMITTED | READ UNCOMMITTED }\nREAD WRITE | READ ONLY\n[ NOT ] DEFERRABLE",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "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"
            },
            {
                "name": "SAVEPOINT",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/SAVEPOINT/7/json"
            },
            {
                "name": "SETTRANSACTION",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/SETTRANSACTION/7/json"
            },
            {
                "name": "TRANSACTION",
                "section": "7",
                "url": "https://www.chedong.com/phpMan.php/man/TRANSACTION/7/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "PARAMETERS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "COMPATIBILITY",
                "lines": 13,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 5,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "STARTTRANSACTION - start a transaction block\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "START TRANSACTION [ transactionmode [, ...] ]\n\nwhere transactionmode is one of:\n\nISOLATION LEVEL { SERIALIZABLE | REPEATABLE READ | READ COMMITTED | READ UNCOMMITTED }\nREAD WRITE | READ ONLY\n[ NOT ] DEFERRABLE\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "This command begins a new transaction block. If the isolation level, read/write mode, or\ndeferrable mode is specified, the new transaction has those characteristics, as if SET\nTRANSACTION was executed. This is the same as the BEGIN command.\n",
                "subsections": []
            },
            "PARAMETERS": {
                "content": "Refer to SET TRANSACTION (SETTRANSACTION(7)) for information on the meaning of the\nparameters to this statement.\n",
                "subsections": []
            },
            "COMPATIBILITY": {
                "content": "In the standard, it is not necessary to issue START TRANSACTION to start a transaction block:\nany SQL command implicitly begins a block.  PostgreSQL's behavior can be seen as implicitly\nissuing a COMMIT after each command that does not follow START TRANSACTION (or BEGIN), and it\nis therefore often called “autocommit”. Other relational database systems might offer an\nautocommit feature as a convenience.\n\nThe DEFERRABLE transactionmode is a PostgreSQL language extension.\n\nThe SQL standard requires commas between successive transactionmodes, but for historical\nreasons PostgreSQL allows the commas to be omitted.\n\nSee also the compatibility section of SET TRANSACTION (SETTRANSACTION(7)).\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "BEGIN(7), COMMIT(7), ROLLBACK(7), SAVEPOINT(7), SET TRANSACTION (SETTRANSACTION(7))\n\n\n\nPostgreSQL 14.23                                2026                            START TRANSACTION(7)",
                "subsections": []
            }
        }
    }
}