]> granicus.if.org Git - postgresql/commit
Teach is_distinct_query to recognize that GROUP BY forces a subquery's
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 2 Mar 2004 16:42:20 +0000 (16:42 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 2 Mar 2004 16:42:20 +0000 (16:42 +0000)
commit03e2a47e0bf11fd8ec33d0a4b302347c5a765e7e
treeb919bcef5816544cdf8ee0d02d6072d70fb5a0a3
parent49032ca76554e4bdbff5f72f7dced146fb14ef0d
Teach is_distinct_query to recognize that GROUP BY forces a subquery's
output to be distinct, if all the GROUP BY columns appear in the output.
Per suggestion from Dennis Haney.
src/backend/optimizer/util/pathnode.c