aboutsummaryrefslogtreecommitdiff
path: root/src/backend/regex/regexec.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-10-19 18:33:53 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2012-10-19 18:33:53 -0400
commit12b721a7f0e3cb05630f267e0d9b4e63bbba6b0b (patch)
tree41f3d6ba5113c448dcf275e6d61855684ba3d029 /src/backend/regex/regexec.c
parent8a3249f12447468c4ac5a3b91cfdad5573e2b660 (diff)
downloadpostgresql-12b721a7f0e3cb05630f267e0d9b4e63bbba6b0b.tar.gz
postgresql-12b721a7f0e3cb05630f267e0d9b4e63bbba6b0b.zip
Fix UtilityContainsQuery() to handle CREATE TABLE AS EXECUTE correctly.
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.
Diffstat (limited to 'src/backend/regex/regexec.c')
0 files changed, 0 insertions, 0 deletions