postgresql/src/backend/utils/cache
Robert Haas debcec7dc3 Include the backend ID in the relpath of temporary relations.
This allows us to reliably remove all leftover temporary relation
files on cluster startup without reference to system catalogs or WAL;
therefore, we no longer include temporary relations in XLOG_XACT_COMMIT
and XLOG_XACT_ABORT WAL records.

Since these changes require including a backend ID in each
SharedInvalSmgrMsg, the size of the SharedInvalidationMessage.id
field has been reduced from two bytes to one, and the maximum number
of connections has been reduced from INT_MAX / 4 to 2^23-1.  It would
be possible to remove these restrictions by increasing the size of
SharedInvalidationMessage by 4 bytes, but right now that doesn't seem
like a good trade-off.

Review by Jaime Casanova and Tom Lane.
2010-08-13 20:10:54 +00:00
..
attoptcache.c pgindent run for 9.0 2010-02-26 02:01:40 +00:00
catcache.c pgindent run for 9.0, second run 2010-07-06 19:19:02 +00:00
inval.c Include the backend ID in the relpath of temporary relations. 2010-08-13 20:10:54 +00:00
lsyscache.c Standardize get_whatever_oid functions for object types with 2010-08-05 14:45:09 +00:00
Makefile Create a "relation mapping" infrastructure to support changing the relfilenodes 2010-02-07 20:48:13 +00:00
plancache.c Fix Assert failure in PushOverrideSearchPath when trying to restore a search 2010-08-13 16:27:11 +00:00
relcache.c Include the backend ID in the relpath of temporary relations. 2010-08-13 20:10:54 +00:00
relmapper.c pgindent run for 9.0 2010-02-26 02:01:40 +00:00
spccache.c pgindent run for 9.0 2010-02-26 02:01:40 +00:00
syscache.c Fix incorrect pathname in comment. 2010-08-06 03:46:23 +00:00
ts_cache.c Standardize get_whatever_oid functions for other object types. 2010-08-05 15:25:36 +00:00
typcache.c Wrap calls to SearchSysCache and related functions using macros. 2010-02-14 18:42:19 +00:00