OSDN Git Service

Add restart_after_crash GUC.
authorMasaoFujii <masao.fujii@gmail.com>
Thu, 7 Oct 2010 10:15:43 +0000 (19:15 +0900)
committerMasaoFujii <masao.fujii@gmail.com>
Thu, 7 Oct 2010 10:15:43 +0000 (19:15 +0900)
commit51b3a597700ebece10d030764803f7933e268a13
tree11c9ce610a9e962e5e12889d9a7c0381c6f0adfc
parent7887db612cefcc9f2648f3248cba1f3904c80b3b
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.

Conflicts:

doc/src/sgml/config.sgml
src/backend/postmaster/postmaster.c
src/backend/utils/misc/guc.c
doc/src/sgml/config.sgml
src/backend/postmaster/postmaster.c
src/backend/utils/misc/check_guc
src/backend/utils/misc/guc.c
src/backend/utils/misc/postgresql.conf.sample
src/include/postmaster/postmaster.h
src/include/utils/guc_tables.h