- Notifications
You must be signed in to change notification settings - Fork5
Commitd97e98e
committed
Prevent psql from issuing BEGIN before ALTER SYSTEM when AUTOCOMMIT is off.
The autocommit-off mode works by issuing an implicit BEGIN just beforeany command that is not already in a transaction block and is not itselfa BEGIN or other transaction-control command, nor a command thatcannot be executed inside a transaction block. This commit prevents psqlfrom issuing such an implicit BEGIN before ALTER SYSTEM because it'snot allowed inside a transaction block.Backpatch to 9.4 where ALTER SYSTEM was added.Report by Feike Steenbergen1 parentfbb1d7d commitd97e98e
1 file changed
+17
-0
lines changedLines changed: 17 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1524 | 1524 |
| |
1525 | 1525 |
| |
1526 | 1526 |
| |
| 1527 | + | |
| 1528 | + | |
| 1529 | + | |
| 1530 | + | |
| 1531 | + | |
| 1532 | + | |
| 1533 | + | |
| 1534 | + | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
| 1543 | + | |
1527 | 1544 |
| |
1528 | 1545 |
| |
1529 | 1546 |
| |
|
0 commit comments
Comments
(0)