aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistget.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-07-31 17:56:27 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2012-07-31 17:56:27 -0400
commit3786b9b4668743b99e837fe276e14be1f1bdfde9 (patch)
tree6674d832fc55b76d4391d2b647b9e11b48ce134c /src/backend/access/gist/gistget.c
parent63aba79c7f1f06422b22e2b44fdcb563bbc3f7a5 (diff)
downloadpostgresql-3786b9b4668743b99e837fe276e14be1f1bdfde9.tar.gz
postgresql-3786b9b4668743b99e837fe276e14be1f1bdfde9.zip
Fix WITH attached to a nested set operation (UNION/INTERSECT/EXCEPT).
Parse analysis neglected to cover the case of a WITH clause attached to an intermediate-level set operation; it only handled WITH at the top level or WITH attached to a leaf-level SELECT. Per report from Adam Mackler. In HEAD, I rearranged the order of SelectStmt's fields to put withClause with the other fields that can appear on non-leaf SelectStmts. In back branches, leave it alone to avoid a possible ABI break for third-party code. Back-patch to 8.4 where WITH support was added.
Diffstat (limited to 'src/backend/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions