git.postgresql.org Git - postgresql.git/commit
2006年6月16日 18:42:24 +0000 (18:42 +0000)
2006年6月16日 18:42:24 +0000 (18:42 +0000)
commit 06e10abc0bb4297a0754313b4f158bdd5622ca24
Fix problems with cached tuple descriptors disappearing while still in use
by creating a reference-count mechanism, similar to what we did a long time
ago for catcache entries. The back branches have an ugly solution involving
lots of extra copies, but this way is more efficient. Reference counting is
only applied to tupdescs that are actually in caches --- there seems no need
to use it for tupdescs that are generated in the executor, since they'll go
away during plan shutdown by virtue of being in the per-query memory context.
Neil Conway and Tom Lane
36 files changed:
This is the main PostgreSQL git repository.
RSS
Atom