pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Load FK defs into relcache for use by planner
2+ messages / 2 participants
[nested] [flat]

* pgsql: Load FK defs into relcache for use by planner
@ 2016-04-07 11:09  Simon Riggs <simon@2ndQuadrant.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Simon Riggs @ 2016-04-07 11:09 UTC (permalink / raw)
  To: pgsql-committers

Load FK defs into relcache for use by planner

Fastpath ignores this if no triggers defined.

Author: Tomas Vondra, with fastpath and comments added by me
Reviewers: David Rowley, Simon Riggs

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/015e88942aa50f0d419ddac00e63bb06d6e62e86

Modified Files
--------------
src/backend/nodes/outfuncs.c         | 13 ++++++
src/backend/optimizer/util/plancat.c | 85 +++++++++++++++++++++++++++++++++++-
src/backend/utils/cache/relcache.c   | 75 +++++++++++++++++++++++++++++++
src/include/nodes/nodes.h            |  1 +
src/include/nodes/relation.h         | 22 ++++++++++
src/include/utils/rel.h              |  3 ++
src/include/utils/relcache.h         |  1 +
7 files changed, 199 insertions(+), 1 deletion(-)


-- 
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

* Re: pgsql: Load FK defs into relcache for use by planner
@ 2016-04-08 00:23  Peter Geoghegan <pg@heroku.com>
  parent: Simon Riggs <simon@2ndQuadrant.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter Geoghegan @ 2016-04-08 00:23 UTC (permalink / raw)
  To: Simon Riggs <simon@2ndquadrant.com>; +Cc: pgsql-committers

On Thu, Apr 7, 2016 at 4:09 AM, Simon Riggs <simon@2ndquadrant.com> wrote:
> Load FK defs into relcache for use by planner

I gather this is infrastructure for the "use foreign keys to improve
join estimates" patch. A more worked out commit message would be nice,
though.


-- 
Peter Geoghegan


-- 
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:[~2016-04-08 00:23 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-04-07 11:09 pgsql: Load FK defs into relcache for use by planner Simon Riggs <simon@2ndQuadrant.com>
2016-04-08 00:23 ` Peter Geoghegan <pg@heroku.com>

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