postgresql/src
Tom Lane 5f60086e10 Minor adjustments to make failures in startup/shutdown behave more cleanly.
StartupXLOG and ShutdownXLOG no longer need to be critical sections, because
in all contexts where they are invoked, elog(ERROR) would be translated to
elog(FATAL) anyway.  (One change in bgwriter.c is needed to make this true:
set ExitOnAnyError before trying to exit.  This is a good fix anyway since
the existing code would have gone into an infinite loop on elog(ERROR) during
shutdown.)  That avoids a misleading report of PANIC during semi-orderly
failures.  Modify the postmaster to include the startup process in the set of
processes that get SIGTERM when a fast shutdown is requested, and also fix it
to not try to restart the bgwriter if the bgwriter fails while trying to write
the shutdown checkpoint.  Net result is that "pg_ctl stop -m fast" does
something reasonable for a system in warm standby mode, and so should Unix
system shutdown (ie, universal SIGTERM).  Per gripe from Stephen Harris and
some corner-case testing of my own.
2006-11-30 18:29:12 +00:00
..
backend Minor adjustments to make failures in startup/shutdown behave more cleanly. 2006-11-30 18:29:12 +00:00
bin Fix psql's \copy command to ensure that it cycles libpq back to the idle state 2006-11-24 23:06:50 +00:00
include Mark to_char(timestamp without timezone) as stable, not immutable, since its 2006-11-28 19:18:44 +00:00
interfaces Fix Makefile problem which prevented installation on VPATH builds. 2006-11-29 21:21:03 +00:00
makefiles Add $(CFLAGS) to the simplified build rule for .so libraries on Darwin. 2006-11-28 05:45:43 +00:00
pl
port protect vfprintf from hijacking by Windows gettext just like other members of the *printf family. 2006-11-28 01:12:34 +00:00
template
test Change pg_stat_all_tables and sister views to put the recently-added 2006-11-24 21:18:42 +00:00
timezone Update timezone data to tzdata2006p zic distribution. It seems Western 2006-11-28 19:37:03 +00:00
tools More MSVC build support from Magnus. 2006-11-29 19:49:31 +00:00
tutorial
bcc32.mak
DEVELOPERS
Makefile
Makefile.global.in
Makefile.shlib
nls-global.mk
win32.mak