diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2012-07-31 17:56:42 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2012-07-31 17:56:42 -0400 |
commit | 1e14aa6e30b3bee7ae71ebb15452334de9954a22 (patch) | |
tree | bb830dbbf25c240878aaaccb40051d649c79742a /src/backend/access/transam/xlog.c | |
parent | 75ef476cf351b876e25f2b611fda1315c4e00ec4 (diff) |
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/transam/xlog.c')
0 files changed, 0 insertions, 0 deletions