- Notifications
You must be signed in to change notification settings - Fork28
Commit9209e07
committed
Ensure commands in extension scripts see the results of preceding DDL.
Due to a missing CommandCounterIncrement() call, parsing of a non-utilitycommand in an extension script would not see the effects of the immediatelypreceding DDL command, unless that command's execution ends withCommandCounterIncrement() internally ... which some do but many don't.Report by Philippe Beaudoin, diagnosis by Julien Rouhaud.Rather remarkably, this bug has evaded detection since extensions wereinvented, so back-patch to all supported branches.Discussion:https://postgr.es/m/2cf7941e-4e41-7714-3de8-37b1a8f74dff@free.fr1 parent93bbeec commit9209e07
File tree
2 files changed
+9
-0
lines changed- src
- backend/commands
- test/modules/test_extensions
2 files changed
+9
-0
lines changedLines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
718 | 718 |
| |
719 | 719 |
| |
720 | 720 |
| |
| 721 | + | |
| 722 | + | |
| 723 | + | |
721 | 724 |
| |
722 | 725 |
| |
723 | 726 |
| |
|
Lines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | 1 |
| |
2 | 2 |
| |
3 | 3 |
| |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + |
0 commit comments
Comments
(0)