Load FK defs into relcache for use by planner
Simon Riggs <simon@2ndQuadrant.com>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/nodes/outfuncs.c | modified | +13 −0 |
| src/backend/optimizer/util/plancat.c | modified | +84 −1 |
| src/backend/utils/cache/relcache.c | modified | +75 −0 |
| src/include/nodes/nodes.h | modified | +1 −0 |
| src/include/nodes/relation.h | modified | +22 −0 |
| src/include/utils/relcache.h | modified | +1 −0 |
| src/include/utils/rel.h | modified | +3 −0 |