]> granicus.if.org Git - postgresql/commit
When rewriting an aggregate introduced into WHERE, allow agg argument to
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 4 Apr 2000 02:30:52 +0000 (02:30 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 4 Apr 2000 02:30:52 +0000 (02:30 +0000)
commit7fbf0af22be6278c2b4e8c6c8c3e914b64cf9117
treec06acc3a679f9f3864795bd720869aa4e089f1fb
parent2ae6e8630238b6c8e6e593425bf5fa70c13764f1
When rewriting an aggregate introduced into WHERE, allow agg argument to
be an expression not just a simple Var, so long as only one table is
referenced (so that code isn't really any more difficult than before).
This whole thing is still fundamentally bogus, but at least we can accept
a few more cases than before.
src/backend/rewrite/rewriteHandler.c