{
    "mode": "man",
    "parameter": "START_TRANSACTION",
    "section": "7",
    "url": "https://www.chedong.com/phpMan.php/man/START_TRANSACTION/7/json",
    "generated": "2026-06-15T13:27:11Z",
    "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",
    "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": []
        }
    },
    "summary": "STARTTRANSACTION - start a transaction block",
    "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"
        }
    ]
}