]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Make RelationForgetRelation error out if the relcache entry has nonzero
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 22 May 2002 17:29:45 +0000 (17:29 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 22 May 2002 17:29:45 +0000 (17:29 +0000)
commit63448825fb041704554849cbfac00f022540936f
tree16655952d291ab5710d28eb6ad818e7267f842c1
parentce362bf8bee14c8589aa10649a1e3e516ed9e3e7
Make RelationForgetRelation error out if the relcache entry has nonzero
reference count.  This avoids leaving dangling pointers around, as in
recent bug report against sequences (bug# 671).
src/backend/utils/cache/relcache.c