pgsql: Load FK defs into relcache for use by planner

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Load FK defs into relcache for use by planner
Date: 2016-04-07 11:09:16
Message-ID: E1ao7oK-0008Pu-OY@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2016-04-07 12:12:52 Re: pgsql: Generic Messages for Logical Decoding
Previous Message Andres Freund 2016-04-07 04:47:28 Re: pgsql: Generic Messages for Logical Decoding