pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix planning of star-schema-style queries.
4+ messages / 1 participants
[nested] [flat]

* pgsql: Fix planning of star-schema-style queries.
@ 2015-02-28 17:43  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 4+ messages in thread

From: Tom Lane @ 2015-02-28 17:43 UTC (permalink / raw)
  To: pgsql-committers

Fix planning of star-schema-style queries.

Part of the intent of the parameterized-path mechanism was to handle
star-schema queries efficiently, but some overly-restrictive search
limiting logic added in commit e2fa76d80ba571d4de8992de6386536867250474
prevented such cases from working as desired.  Fix that and add a
regression test about it.  Per gripe from Marc Cousin.

This is arguably a bug rather than a new feature, so back-patch to 9.2
where parameterized paths were introduced.

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/fdacbf9e89267a3c3eb382b285bdb724ad5c6e44

Modified Files
--------------
src/backend/optimizer/README          |   34 +++++++++++++++++++++------
src/backend/optimizer/path/joinpath.c |   41 +++++++++++++++++++++++++--------
src/test/regress/expected/join.out    |   19 +++++++++++++++
src/test/regress/sql/join.sql         |    9 ++++++++
4 files changed, 86 insertions(+), 17 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] 4+ messages in thread

* pgsql: Fix planning of star-schema-style queries.
@ 2015-02-28 17:43  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 4+ messages in thread

From: Tom Lane @ 2015-02-28 17:43 UTC (permalink / raw)
  To: pgsql-committers

Fix planning of star-schema-style queries.

Part of the intent of the parameterized-path mechanism was to handle
star-schema queries efficiently, but some overly-restrictive search
limiting logic added in commit e2fa76d80ba571d4de8992de6386536867250474
prevented such cases from working as desired.  Fix that and add a
regression test about it.  Per gripe from Marc Cousin.

This is arguably a bug rather than a new feature, so back-patch to 9.2
where parameterized paths were introduced.

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/6f419958a61119c2f17e0a84a30e920050c843db

Modified Files
--------------
src/backend/optimizer/README          |   34 +++++++++++++++++++++------
src/backend/optimizer/path/joinpath.c |   41 +++++++++++++++++++++++++--------
src/test/regress/expected/join.out    |   19 +++++++++++++++
src/test/regress/sql/join.sql         |    9 ++++++++
4 files changed, 86 insertions(+), 17 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] 4+ messages in thread

* pgsql: Fix planning of star-schema-style queries.
@ 2015-02-28 17:43  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 4+ messages in thread

From: Tom Lane @ 2015-02-28 17:43 UTC (permalink / raw)
  To: pgsql-committers

Fix planning of star-schema-style queries.

Part of the intent of the parameterized-path mechanism was to handle
star-schema queries efficiently, but some overly-restrictive search
limiting logic added in commit e2fa76d80ba571d4de8992de6386536867250474
prevented such cases from working as desired.  Fix that and add a
regression test about it.  Per gripe from Marc Cousin.

This is arguably a bug rather than a new feature, so back-patch to 9.2
where parameterized paths were introduced.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/b514a7460d9127ddda6598307272c701cbb133b7

Modified Files
--------------
src/backend/optimizer/README          |   34 +++++++++++++++++++++------
src/backend/optimizer/path/joinpath.c |   41 +++++++++++++++++++++++++--------
src/test/regress/expected/join.out    |   19 +++++++++++++++
src/test/regress/sql/join.sql         |    9 ++++++++
4 files changed, 86 insertions(+), 17 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] 4+ messages in thread

* pgsql: Fix planning of star-schema-style queries.
@ 2015-02-28 17:43  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 4+ messages in thread

From: Tom Lane @ 2015-02-28 17:43 UTC (permalink / raw)
  To: pgsql-committers

Fix planning of star-schema-style queries.

Part of the intent of the parameterized-path mechanism was to handle
star-schema queries efficiently, but some overly-restrictive search
limiting logic added in commit e2fa76d80ba571d4de8992de6386536867250474
prevented such cases from working as desired.  Fix that and add a
regression test about it.  Per gripe from Marc Cousin.

This is arguably a bug rather than a new feature, so back-patch to 9.2
where parameterized paths were introduced.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/1b558782b7156bac9b4012ccee5338f1ccd236d9

Modified Files
--------------
src/backend/optimizer/README          |   34 +++++++++++++++++++++------
src/backend/optimizer/path/joinpath.c |   41 +++++++++++++++++++++++++--------
src/test/regress/expected/join.out    |   19 +++++++++++++++
src/test/regress/sql/join.sql         |    9 ++++++++
4 files changed, 86 insertions(+), 17 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] 4+ messages in thread


end of thread, other threads:[~2015-02-28 17:43 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-02-28 17:43 pgsql: Fix planning of star-schema-style queries. Tom Lane <tgl@sss.pgh.pa.us>
2015-02-28 17:43 pgsql: Fix planning of star-schema-style queries. Tom Lane <tgl@sss.pgh.pa.us>
2015-02-28 17:43 pgsql: Fix planning of star-schema-style queries. Tom Lane <tgl@sss.pgh.pa.us>
2015-02-28 17:43 pgsql: Fix planning of star-schema-style queries. Tom Lane <tgl@sss.pgh.pa.us>

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