diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2012-06-18 19:37:23 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2012-06-18 19:37:23 -0400 |
commit | e8c9fd5fdf768323911f7088e8287f63b513c3c6 (patch) | |
tree | 381453098ccf289a6aa30934ddafd20ed432439e /src/backend/access/gist/gistutil.c | |
parent | 03a5ba24b096a9acbbc9682adc0a27d1db31c570 (diff) | |
download | postgresql-e8c9fd5fdf768323911f7088e8287f63b513c3c6.tar.gz postgresql-e8c9fd5fdf768323911f7088e8287f63b513c3c6.zip |
Allow ON UPDATE/DELETE SET DEFAULT plans to be cached.
Once upon a time, somebody was worried that cached RI plans wouldn't get
remade with new default values after ALTER TABLE ... SET DEFAULT, so they
didn't allow caching of plans for ON UPDATE/DELETE SET DEFAULT actions.
That time is long gone, though (and even at the time I doubt this was the
greatest hazard posed by ALTER TABLE...). So allow these triggers to cache
their plans just like the others.
The cache_plan argument to ri_PlanCheck is now vestigial, since there
are no callers that don't pass "true"; but I left it alone in case there
is any future need for it.
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions