1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-03 15:22:11 +03:00

Fix things so that an error occuring during standalone-backend processing

in initdb will result in exit(1), allowing the initdb script to realize
that there's something wrong.
This commit is contained in:
Tom Lane
2003-05-28 18:19:09 +00:00
parent aae078198d
commit 4df52b28f0
6 changed files with 44 additions and 23 deletions

View File

@@ -10,7 +10,7 @@
* Written by Peter Eisentraut <peter_e@gmx.net>.
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.126 2003/05/27 17:55:50 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/misc/guc.c,v 1.127 2003/05/28 18:19:09 tgl Exp $
*
*--------------------------------------------------------------------
*/
@@ -399,6 +399,12 @@ static struct config_bool
},
#endif
{
/* currently undocumented, so don't show in SHOW ALL */
{"exit_on_error", PGC_USERSET, GUC_NO_SHOW_ALL}, &ExitOnAnyError,
false, NULL, NULL
},
{
{"log_statement", PGC_SUSET}, &log_statement,
false, NULL, NULL