From 73552a70387803be378b0fd64dcca389d1c401b6 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Fri, 4 Apr 2008 17:25:23 +0000 Subject: [PATCH] Remove no-longer-used function assign_backslash_quote() --- src/backend/utils/misc/guc.c | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/src/backend/utils/misc/guc.c b/src/backend/utils/misc/guc.c index 45a3b05fdb..bb32f42875 100644 --- a/src/backend/utils/misc/guc.c +++ b/src/backend/utils/misc/guc.c @@ -7111,31 +7111,6 @@ assign_canonical_path(const char *newval, bool doit, GucSource source) return newval; } -static const char * -assign_backslash_quote(const char *newval, bool doit, GucSource source) -{ - BackslashQuoteType bq; - bool bqbool; - - /* - * Although only "on", "off", and "safe_encoding" are documented, we use - * parse_bool so we can accept all the likely variants of "on" and "off". - */ - if (pg_strcasecmp(newval, "safe_encoding") == 0) - bq = BACKSLASH_QUOTE_SAFE_ENCODING; - else if (parse_bool(newval, &bqbool)) - { - bq = bqbool ? BACKSLASH_QUOTE_ON : BACKSLASH_QUOTE_OFF; - } - else - return NULL; /* reject */ - - if (doit) - backslash_quote = bq; - - return newval; -} - static const char * assign_timezone_abbreviations(const char *newval, bool doit, GucSource source) { -- 2.39.5