postgresql/src/backend/storage
Tom Lane 6162432de9 Add more critical-section calls: all code sections that hold spinlocks
are now critical sections, so as to ensure die() won't interrupt us while
we are munging shared-memory data structures.  Avoid insecure intermediate
states in some code that proc_exit will call, like palloc/pfree.  Rename
START/END_CRIT_CODE to START/END_CRIT_SECTION, since that seems to be
what people tend to call them anyway, and make them be called with () like
a function call, in hopes of not confusing pg_indent.
I doubt that this is sufficient to make SIGTERM safe anywhere; there's
just too much code that could get invoked during proc_exit().
2001-01-12 21:54:01 +00:00
..
buffer Add more critical-section calls: all code sections that hold spinlocks 2001-01-12 21:54:01 +00:00
file Add more critical-section calls: all code sections that hold spinlocks 2001-01-12 21:54:01 +00:00
ipc Add more critical-section calls: all code sections that hold spinlocks 2001-01-12 21:54:01 +00:00
large_object Improve inv_getsize() per suggestion from Denis Perchine; also fix 2000-11-02 23:52:06 +00:00
lmgr Add more critical-section calls: all code sections that hold spinlocks 2001-01-12 21:54:01 +00:00
page 1. WAL needs in zero-ed content of newly initialized page. 2000-12-30 15:19:57 +00:00
smgr No more #ifdef XLOG. 2000-11-30 08:46:26 +00:00
Makefile Fix relative path references so that make knowns which dependencies refer 2000-08-31 16:12:35 +00:00