summaryrefslogtreecommitdiff
path: root/src/backend/rewrite/rewriteDefine.c
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2014-07-02 12:42:20 +0900
committerFujii Masao <fujii@postgresql.org>2014-07-02 12:43:09 +0900
commit5520006b5bbaa36e6734a8ccf960bb870f4a4fec (patch)
tree1e8f3045d3b603beb6e5b1c059a004b5e7d837c6 /src/backend/rewrite/rewriteDefine.c
parent49bca9ea53f6428f7ac6372ad4dd47ecacfac395 (diff)
Prevent psql from issuing BEGIN before ALTER SYSTEM when AUTOCOMMIT is off.
The autocommit-off mode works by issuing an implicit BEGIN just before any command that is not already in a transaction block and is not itself a BEGIN or other transaction-control command, nor a command that cannot be executed inside a transaction block. This commit prevents psql from issuing such an implicit BEGIN before ALTER SYSTEM because it's not allowed inside a transaction block. Backpatch to 9.4 where ALTER SYSTEM was added. Report by Feike Steenbergen
Diffstat (limited to 'src/backend/rewrite/rewriteDefine.c')
0 files changed, 0 insertions, 0 deletions