]> granicus.if.org Git - postgresql/commit
Apply my original fix for Taiki Yamaguchi's bug report about DISTINCT MAX().
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 31 Mar 2008 16:59:26 +0000 (16:59 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 31 Mar 2008 16:59:26 +0000 (16:59 +0000)
commitd344115519a5c88bfa8bf8551258f4eaaa1185be
treed20b2e66b2f5ad859eb0cd13115ec91489290655
parente86237ff31c1cb52591065c3d88bb09923b7f459
Apply my original fix for Taiki Yamaguchi's bug report about DISTINCT MAX().
Add some regression tests for plausible failures in this area.
src/backend/optimizer/path/equivclass.c
src/backend/optimizer/plan/planagg.c
src/include/optimizer/paths.h
src/test/regress/expected/aggregates.out
src/test/regress/sql/aggregates.sql