pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Build column mapping for grouping sets in all required cases.
2+ messages / 1 participants
[nested] [flat]

* pgsql: Build column mapping for grouping sets in all required cases.
@ 2015-07-26 15:12  Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 2+ messages in thread

From: Andres Freund @ 2015-07-26 15:12 UTC (permalink / raw)
  To: pgsql-committers

Build column mapping for grouping sets in all required cases.

The previous coding frequently failed to fail because for one it's
unusual to have rollup clauses with one column, and for another
sometimes the wrong mapping didn't cause obvious problems.

Author: Jeevan Chalke
Reviewed-By: Andrew Gierth
Discussion: CAM2+6=W=9=hQOipH0HAPbkun3Z3TFWij_EiHue0_6UX=oR=1kw@mail.gmail.com
Backpatch: 9.5, where grouping sets were introduced

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/144666f65b500fef864bca318f6245b03c0f457c

Modified Files
--------------
src/backend/optimizer/plan/planner.c       |    9 ++-------
src/test/regress/expected/groupingsets.out |   23 +++++++++++++++++++++++
src/test/regress/sql/groupingsets.sql      |    4 ++++
3 files changed, 29 insertions(+), 7 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: Build column mapping for grouping sets in all required cases.
@ 2015-07-26 15:12  Andres Freund <andres@anarazel.de>
  0 siblings, 0 replies; 2+ messages in thread

From: Andres Freund @ 2015-07-26 15:12 UTC (permalink / raw)
  To: pgsql-committers

Build column mapping for grouping sets in all required cases.

The previous coding frequently failed to fail because for one it's
unusual to have rollup clauses with one column, and for another
sometimes the wrong mapping didn't cause obvious problems.

Author: Jeevan Chalke
Reviewed-By: Andrew Gierth
Discussion: CAM2+6=W=9=hQOipH0HAPbkun3Z3TFWij_EiHue0_6UX=oR=1kw@mail.gmail.com
Backpatch: 9.5, where grouping sets were introduced

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/65b86c1767a7dac0cc79dcfba7ba4cbd326dc03f

Modified Files
--------------
src/backend/optimizer/plan/planner.c       |    9 ++-------
src/test/regress/expected/groupingsets.out |   23 +++++++++++++++++++++++
src/test/regress/sql/groupingsets.sql      |    4 ++++
3 files changed, 29 insertions(+), 7 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2015-07-26 15:12 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-07-26 15:12 pgsql: Build column mapping for grouping sets in all required cases. Andres Freund <andres@anarazel.de>
2015-07-26 15:12 pgsql: Build column mapping for grouping sets in all required cases. Andres Freund <andres@anarazel.de>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox