OSDN Git Service

Replace rewriter's checkQueryHasAggs and checkQueryHasSubLink
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 21 Jun 1999 01:26:56 +0000 (01:26 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 21 Jun 1999 01:26:56 +0000 (01:26 +0000)
commit1f2c6f4f48203dbeaec0bf55a48ae25150d52d35
treeb8eed6d4740af291416d8e2d9762e907b2c65a39
parentfd8e580bb7e2793621b14662122ac5cd647b7fb1
Replace rewriter's checkQueryHasAggs and checkQueryHasSubLink
with expression_tree_walker-based code.  The former failed to cope with
expressions containing SubLinks, and the latter returned TRUE for both
SubLinks and Aggrefs (cut-and-paste bug?).  There is a lot more scope for
using expression_tree_walker in this module, but I'll restrain myself
until the 6.6 split occurs from touching not-demonstrably-broken code.
src/backend/rewrite/rewriteHandler.c