Thread
-
pgsql: Add restart_after_crash GUC.
Robert Haas <rhaas@postgresql.org> — 2010-07-20T00:47:53Z
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) -
Re: [COMMITTERS] pgsql: Add restart_after_crash GUC.
Fujii Masao <masao.fujii@gmail.com> — 2010-07-27T06:33:46Z
On Tue, Jul 20, 2010 at 9:47 AM, Robert Haas <rhaas@postgresql.org> wrote: > Log Message: > ----------- > Add restart_after_crash GUC. In postgresql.conf.sample, on/off is used as a boolean value. But true/false is used for exit_on_error and restart_after_crash. Sorry, I had overlooked that inconsistency when reviewing the original patch. I attached the bug-fix patch. Regards, -- Fujii Masao NIPPON TELEGRAPH AND TELEPHONE CORPORATION NTT Open Source Software Center
-
Re: [COMMITTERS] pgsql: Add restart_after_crash GUC.
Robert Haas <robertmhaas@gmail.com> — 2010-07-27T16:07:00Z
On Tue, Jul 27, 2010 at 2:33 AM, Fujii Masao <masao.fujii@gmail.com> wrote: > On Tue, Jul 20, 2010 at 9:47 AM, Robert Haas <rhaas@postgresql.org> wrote: >> Log Message: >> ----------- >> Add restart_after_crash GUC. > > In postgresql.conf.sample, on/off is used as a boolean value. > But true/false is used for exit_on_error and restart_after_crash. > Sorry, I had overlooked that inconsistency when reviewing the > original patch. I attached the bug-fix patch. Good catch, thanks. Committed. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise Postgres Company