mirror of https://github.com/postgres/postgres
The code seems to have been written to handle the pre-parse-analysis representation, where an ExecuteStmt would appear directly under CreateTableAsStmt. But in reality the function is only run on already-parse-analyzed statements, so there will be a Query node in between. We'd not noticed the bug because the function is generally not used at all except in extended query protocol. Per report from Robert Haas and Rushabh Lathia.pull/3/head
parent
4e32f8cd14
commit
5d1abe64e6
Loading…
Reference in new issue