{
    "mode": "info",
    "parameter": "START_TRANSACTION",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/info/START_TRANSACTION/json",
    "generated": "2026-07-31T18:53:33Z",
    "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,\nread/write mode, or deferrable mode is specified, the new transaction\nhas those characteristics, as if SET TRANSACTION was executed. This is\nthe same as the BEGIN command.\n",
            "subsections": []
        },
        "PARAMETERS": {
            "content": "Refer to SET TRANSACTION (SETTRANSACTION(7)) for information on the\nmeaning of the parameters to this statement.\n",
            "subsections": []
        },
        "COMPATIBILITY": {
            "content": "In the standard, it is not necessary to issue START TRANSACTION to\nstart a transaction block: any SQL command implicitly begins a block.\nPostgreSQL's behavior can be seen as implicitly issuing a COMMIT after\neach command that does not follow START TRANSACTION (or BEGIN), and it\nis therefore often called \"autocommit\". Other relational database\nsystems might offer an autocommit feature as a convenience.\n\nThe DEFERRABLE transactionmode is a PostgreSQL language extension.\n\nThe SQL standard requires commas between successive transactionmodes,\nbut for historical reasons PostgreSQL allows the commas to be omitted.\n\nSee also the compatibility section of SET TRANSACTION\n(SETTRANSACTION(7)).\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "BEGIN(7), COMMIT(7), ROLLBACK(7), SAVEPOINT(7), SET TRANSACTION\n(SETTRANSACTION(7))\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"
        }
    ]
}