]> granicus.if.org Git - postgresql/commit
Load FK defs into relcache for use by planner
authorSimon Riggs <simon@2ndQuadrant.com>
Thu, 7 Apr 2016 11:08:33 +0000 (12:08 +0100)
committerSimon Riggs <simon@2ndQuadrant.com>
Thu, 7 Apr 2016 11:08:33 +0000 (12:08 +0100)
commit015e88942aa50f0d419ddac00e63bb06d6e62e86
tree5f8bffa51675e88ebdfb9f35ae2a62ce8dbc63d9
parentf2b1b3079ce9d2965f6e450585f24d18cdf5647b
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
src/backend/nodes/outfuncs.c
src/backend/optimizer/util/plancat.c
src/backend/utils/cache/relcache.c
src/include/nodes/nodes.h
src/include/nodes/relation.h
src/include/utils/rel.h
src/include/utils/relcache.h