|
10 | 10 | * Written by Peter Eisentraut <peter_e@gmx.net>.
|
11 | 11 | *
|
12 | 12 | * IDENTIFICATION
|
13 |
| - * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.563 2010/07/20 00:34:44 rhaas Exp $ |
| 13 | + * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.564 2010/07/20 00:47:53 rhaas Exp $ |
14 | 14 | *
|
15 | 15 | *--------------------------------------------------------------------
|
16 | 16 | */
|
@@ -550,6 +550,8 @@ const char *const config_group_names[] =
|
550 | 550 | gettext_noop("Version and Platform Compatibility / Previous PostgreSQL Versions"),
|
551 | 551 | /* COMPAT_OPTIONS_CLIENT */
|
552 | 552 | gettext_noop("Version and Platform Compatibility / Other Platforms and Clients"),
|
| 553 | + /* ERROR_HANDLING */ |
| 554 | + gettext_noop("Error Handling"), |
553 | 555 | /* PRESET_OPTIONS */
|
554 | 556 | gettext_noop("Preset Options"),
|
555 | 557 | /* CUSTOM_OPTIONS */
|
@@ -813,16 +815,24 @@ static struct config_bool ConfigureNamesBool[] =
|
813 | 815 | #endif
|
814 | 816 | assign_debug_assertions, NULL
|
815 | 817 | },
|
| 818 | + |
816 | 819 | {
|
817 |
| - /* currently undocumented, so don't show in SHOW ALL */ |
818 |
| - {"exit_on_error", PGC_USERSET, UNGROUPED, |
819 |
| - gettext_noop("No description available."), |
820 |
| - NULL, |
821 |
| - GUC_NO_SHOW_ALL | GUC_NOT_IN_SAMPLE |
| 820 | + {"exit_on_error", PGC_USERSET, ERROR_HANDLING_OPTIONS, |
| 821 | + gettext_noop("Terminate session on any error."), |
| 822 | + NULL |
822 | 823 | },
|
823 | 824 | &ExitOnAnyError,
|
824 | 825 | false, NULL, NULL
|
825 | 826 | },
|
| 827 | + { |
| 828 | + {"restart_after_crash", PGC_SIGHUP, ERROR_HANDLING_OPTIONS, |
| 829 | + gettext_noop("Reinitialize after backend crash."), |
| 830 | + NULL |
| 831 | + }, |
| 832 | + &restart_after_crash, |
| 833 | + true, NULL, NULL |
| 834 | + }, |
| 835 | + |
826 | 836 | {
|
827 | 837 | {"log_duration", PGC_SUSET, LOGGING_WHAT,
|
828 | 838 | gettext_noop("Logs the duration of each completed SQL statement."),
|
|
0 commit comments