]> granicus.if.org Git - postgresql/commit
build_subquery_pathkeys() was examining wrong copy of subquery target list,
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 7 Apr 2004 17:42:28 +0000 (17:42 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 7 Apr 2004 17:42:28 +0000 (17:42 +0000)
commit5d1af6aee3c78bb01d78e0a150c9617b1ff23500
treed6ae100a8e113b24e4f971c5548cbf9ff6460ee5
parentf1d02698616b45bd740d949d3aa9f8ca4d66707e
build_subquery_pathkeys() was examining wrong copy of subquery target list,
causing it to fail to recognize the output ordering of subqueries that
contain set operations (UNION/INTERSECT/EXPECT).  Per example from Karel Zak.
src/backend/optimizer/path/pathkeys.c