git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: b49ce32) | patch
Fix problems with cached tuple descriptors disappearing while still in use
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:
src/backend/access/common/tupdesc.c diff | blob | blame | history
src/backend/access/heap/tuptoaster.c diff | blob | blame | history
src/backend/commands/tablecmds.c diff | blob | blame | history
src/backend/executor/execJunk.c diff | blob | blame | history
src/backend/executor/execMain.c diff | blob | blame | history
src/backend/executor/execQual.c diff | blob | blame | history
src/backend/executor/execTuples.c diff | blob | blame | history
src/backend/executor/execUtils.c diff | blob | blame | history
src/backend/executor/nodeBitmapHeapscan.c diff | blob | blame | history
src/backend/executor/nodeFunctionscan.c diff | blob | blame | history
src/backend/executor/nodeHashjoin.c diff | blob | blame | history
src/backend/executor/nodeIndexscan.c diff | blob | blame | history
src/backend/executor/nodeMergejoin.c diff | blob | blame | history
src/backend/executor/nodeSeqscan.c diff | blob | blame | history
src/backend/executor/nodeSubplan.c diff | blob | blame | history
src/backend/executor/nodeSubqueryscan.c diff | blob | blame | history
src/backend/executor/nodeTidscan.c diff | blob | blame | history
src/backend/optimizer/util/clauses.c diff | blob | blame | history
src/backend/parser/parse_coerce.c diff | blob | blame | history
src/backend/parser/parse_target.c diff | blob | blame | history
src/backend/utils/adt/rowtypes.c diff | blob | blame | history
src/backend/utils/adt/ruleutils.c diff | blob | blame | history
src/backend/utils/cache/relcache.c diff | blob | blame | history
src/backend/utils/cache/typcache.c diff | blob | blame | history
src/backend/utils/fmgr/funcapi.c diff | blob | blame | history
src/backend/utils/resowner/README diff | blob | blame | history
src/backend/utils/resowner/resowner.c diff | blob | blame | history
src/include/access/tupdesc.h diff | blob | blame | history
src/include/executor/executor.h diff | blob | blame | history
src/include/executor/tuptable.h diff | blob | blame | history
src/include/utils/resowner.h diff | blob | blame | history
src/include/utils/typcache.h diff | blob | blame | history
src/pl/plperl/plperl.c diff | blob | blame | history
src/pl/plpgsql/src/pl_exec.c diff | blob | blame | history
src/pl/plpython/plpython.c diff | blob | blame | history
src/pl/tcl/pltcl.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /