OSDN Git Service

Add restart_after_crash GUC.
authorRobert Haas <rhaas@postgresql.org>
Tue, 20 Jul 2010 00:47:53 +0000 (00:47 +0000)
committerRobert Haas <rhaas@postgresql.org>
Tue, 20 Jul 2010 00:47:53 +0000 (00:47 +0000)
commit5ffaa9005c451330bcde29d11a9385c0900ee707
tree0e33f0f8054bd0523f7142a057e38569f11957e8
parent0839f312e92c7ab0aecb2c4133197a7da7c5fc39
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.
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