postgresql/src/backend/storage
Tom Lane 14d4548f1c Ensure all files created for a single BufFile have the same resource owner.
Callers expect that they only have to set the right resource owner when
creating a BufFile, not during subsequent operations on it.  While we could
insist this be fixed at the caller level, it seems more sensible for the
BufFile to take care of it.  Without this, some temp files belonging to
a BufFile can go away too soon, eg at the end of a subtransaction,
leading to errors or crashes.

Reported and fixed by Andres Freund.  Back-patch to all active branches.
2013-11-01 16:09:52 -04:00
..
buffer Add buffer_std flag to MarkBufferDirtyHint(). 2013-06-17 08:04:18 -07:00
file Ensure all files created for a single BufFile have the same resource owner. 2013-11-01 16:09:52 -04:00
freespace Add buffer_std flag to MarkBufferDirtyHint(). 2013-06-17 08:04:18 -07:00
ipc Ensure no xid gaps during Hot Standby startup 2013-06-23 11:09:24 +01:00
large_object Fix snapshot leak if lo_open called on non-existent object. 2013-09-30 12:53:56 +03:00
lmgr Fix bugs in SSI tuple locking. 2013-10-08 00:03:24 +03:00
page Refactor checksumming code to make it easier to use externally. 2013-06-13 22:35:56 -04:00
smgr pgindent run for release 9.3 2013-05-29 16:58:43 -04:00
Makefile Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00