]> granicus.if.org Git - postgresql/commit
Add some defenses to guard against case where a rule refers to a table
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 17 Apr 2001 00:32:58 +0000 (00:32 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 17 Apr 2001 00:32:58 +0000 (00:32 +0000)
commitc273e8b13c30832954490f88b64c704d5c841c8a
treee4b56ee46a0c4ccc068a906c4d260688f664fb37
parentcdcaec5c53b290cc5e51a520980a97ac9eb4d5e3
Add some defenses to guard against case where a rule refers to a table
or view that's been dropped and then recreated with the same name (but,
perhaps, different columns).  Eventually we'd like to support this but
for now all we can do is fail cleanly, rather than possibly coredumping
if we proceed using the obsolete rule.
src/backend/rewrite/rewriteHandler.c