postgresql/src/backend/utils/cache
Tom Lane 948d6ec90f Modify the relcache to record the temp status of both local and nonlocal
temp relations; this is no more expensive than before, now that we have
pg_class.relistemp.  Insert tests into bufmgr.c to prevent attempting
to fetch pages from nonlocal temp relations.  This provides a low-level
defense against bugs-of-omission allowing temp pages to be loaded into shared
buffers, as in the contrib/pgstattuple problem reported by Stuart Bishop.
While at it, tweak a bunch of places to use new relcache tests (instead of
expensive probes into pg_namespace) to detect local or nonlocal temp tables.
2009-03-31 22:12:48 +00:00
..
catcache.c Update copyright for 2009. 2009-01-01 17:24:05 +00:00
inval.c Update copyright for 2009. 2009-01-01 17:24:05 +00:00
lsyscache.c Update copyright for 2009. 2009-01-01 17:24:05 +00:00
Makefile Refactor backend makefiles to remove lots of duplicate code 2008-02-19 10:30:09 +00:00
plancache.c Update copyright for 2009. 2009-01-01 17:24:05 +00:00
relcache.c Modify the relcache to record the temp status of both local and nonlocal 2009-03-31 22:12:48 +00:00
syscache.c Update copyright for 2009. 2009-01-01 17:24:05 +00:00
ts_cache.c Update copyright for 2009. 2009-01-01 17:24:05 +00:00
typcache.c Update copyright for 2009. 2009-01-01 17:24:05 +00:00