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)
commitae76304433b57a16324d03e61ff9045d8db9e861
treefb94636636d4da131303826bf30c8576ab73751c
parentf7fdfa63b0201deb661637f469cfe1e2ad415649
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