postgresql/src
Tom Lane ce646d7192 Repair two places where SIGTERM exit could leave shared memory state
corrupted.  (Neither is very important if SIGTERM is used to shut down the
whole database cluster together, but there's a problem if someone tries to
SIGTERM individual backends.)  To do this, introduce new infrastructure
macros PG_ENSURE_ERROR_CLEANUP/PG_END_ENSURE_ERROR_CLEANUP that take care
of transiently pushing an on_shmem_exit cleanup hook.  Also use this method
for createdb cleanup --- that wasn't a shared-memory-corruption problem,
but SIGTERM abort of createdb could leave orphaned files lying around.

Backpatch as far as 8.2.  The shmem corruption cases don't exist in 8.1,
and the createdb usage doesn't seem important enough to risk backpatching
further.
2008-04-17 00:00:01 +00:00
..
backend Repair two places where SIGTERM exit could leave shared memory state 2008-04-17 00:00:01 +00:00
bin Translation updates 2008-03-14 04:51:31 +00:00
include Repair two places where SIGTERM exit could leave shared memory state 2008-04-17 00:00:01 +00:00
interfaces Avoid using unnecessary pgwin32_safestat in libpq. 2008-04-16 14:24:38 +00:00
makefiles
pl
port A quick try at un-breaking the Cygwin build. Whether it needs the 2008-04-12 00:00:08 +00:00
template
test Fix a number of places that were making file-type tests infelicitously. 2008-03-31 01:32:17 +00:00
timezone Update to tzdata 2008a distribution (Chilean DST law change). 2008-03-13 19:21:56 +00:00
tools Avoid using unnecessary pgwin32_safestat in libpq. 2008-04-16 14:24:38 +00:00
tutorial
bcc32.mak
DEVELOPERS
Makefile
Makefile.global.in
Makefile.shlib
nls-global.mk
win32.mak