- Notifications
You must be signed in to change notification settings - Fork5
Commit5d1abe6
committed
Fix UtilityContainsQuery() to handle CREATE TABLE AS EXECUTE correctly.
The code seems to have been written to handle the pre-parse-analysisrepresentation, where an ExecuteStmt would appear directly underCreateTableAsStmt. But in reality the function is only run onalready-parse-analyzed statements, so there will be a Query node inbetween. We'd not noticed the bug because the function is generallynot used at all except in extended query protocol.Per report from Robert Haas and Rushabh Lathia.1 parent4e32f8c commit5d1abe6
1 file changed
+4
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1508 | 1508 | | |
1509 | 1509 | | |
1510 | 1510 | | |
1511 | | - | |
1512 | 1511 | | |
1513 | | - | |
1514 | | - | |
1515 | | - | |
1516 | | - | |
1517 | | - | |
1518 | | - | |
1519 | | - | |
1520 | | - | |
| 1512 | + | |
| 1513 | + | |
| 1514 | + | |
| 1515 | + | |
1521 | 1516 | | |
1522 | 1517 | | |
1523 | 1518 | | |
| |||
0 commit comments
Comments
(0)