pgsql: Add restart_after_crash GUC.

From: rhaas(at)postgresql(dot)org (Robert Haas)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add restart_after_crash GUC.
Date: 2010-07-20 00:47:53
Message-ID: 20100720004753.3BE677541D5@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Log Message:
-----------
Add restart_after_crash GUC.

Normally, we automatically restart after a backend crash, but in some
cases when PostgreSQL is invoked by clusterware it may be desirable to
suppress this behavior, so we provide an option which does this.
Since no existing GUC group quite fits, create a new group called
"error handling options" for this and the previously undocumented GUC
exit_on_error, which is now documented.

Review by Fujii Masao.

Modified Files:
--------------
pgsql/doc/src/sgml:
config.sgml (r1.297 -> r1.298)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/config.sgml?r1=1.297&r2=1.298)
pgsql/src/backend/postmaster:
postmaster.c (r1.614 -> r1.615)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/postmaster.c?r1=1.614&r2=1.615)
pgsql/src/backend/utils/misc:
check_guc (r1.10 -> r1.11)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/check_guc?r1=1.10&r2=1.11)
guc.c (r1.563 -> r1.564)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/guc.c?r1=1.563&r2=1.564)
postgresql.conf.sample (r1.292 -> r1.293)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/misc/postgresql.conf.sample?r1=1.292&r2=1.293)
pgsql/src/include/postmaster:
postmaster.h (r1.22 -> r1.23)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/postmaster/postmaster.h?r1=1.22&r2=1.23)
pgsql/src/include/utils:
guc_tables.h (r1.49 -> r1.50)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/utils/guc_tables.h?r1=1.49&r2=1.50)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2010-07-20 01:22:52 pgsql: Make hstore regression tests independent of
Previous Message Robert Haas 2010-07-20 00:34:44 pgsql: Change the default value of standard_conforming_strings to on.

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2010-07-20 00:48:04 Re: suppress automatic recovery after back crash
Previous Message Robert Haas 2010-07-20 00:32:46 Re: standard_conforming_strings