]> granicus.if.org Git - postgresql/commit
Modify uses of RelationFlushRelation and RelationCacheInvalidate so that
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 29 Jan 2000 19:51:59 +0000 (19:51 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 29 Jan 2000 19:51:59 +0000 (19:51 +0000)
commit04103e00f1f0ce12c29954d069e1d4437467f700
tree7900a47f846c0ae9e5dfa26ddbbb4c75a39ae219
parent98c6e81e9426441b137f5bfd4fba9b8bede098fa
Modify uses of RelationFlushRelation and RelationCacheInvalidate so that
we *always* rebuild, rather than deleting, an invalidated relcache entry
that has positive refcount.  Otherwise an SI cache overrun leads to
dangling Relation pointers all over the place!
src/backend/utils/cache/inval.c
src/backend/utils/cache/relcache.c