1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

Fix recovery.conf boolean variables to take the same range of string

values as postgresql.conf.
This commit is contained in:
Bruce Momjian
2008-06-30 22:10:43 +00:00
parent 5ce521f648
commit 6b797c852b
3 changed files with 13 additions and 18 deletions

View File

@@ -10,7 +10,7 @@
* Written by Peter Eisentraut <peter_e@gmx.net>.
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.457 2008/06/30 10:58:47 heikki Exp $
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.458 2008/06/30 22:10:43 momjian Exp $
*
*--------------------------------------------------------------------
*/
@@ -3991,7 +3991,7 @@ ReportGUCOption(struct config_generic * record)
* If the string parses okay, return true, else false.
* If okay and result is not NULL, return the value in *result.
*/
static bool
bool
parse_bool(const char *value, bool *result)
{
size_t len = strlen(value);