diff options
author | Tom Lane | 2008-04-04 17:25:23 +0000 |
---|---|---|
committer | Tom Lane | 2008-04-04 17:25:23 +0000 |
commit | 73552a70387803be378b0fd64dcca389d1c401b6 (patch) | |
tree | 8e07266994e2a1a1126ff1b1288426efa87694be | |
parent | be49229cc534d15c1faa1bfdccf88d6fee5153c4 (diff) |
Remove no-longer-used function assign_backslash_quote()
-rw-r--r-- | src/backend/utils/misc/guc.c | 25 |
1 files changed, 0 insertions, 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 @@ -7112,31 +7112,6 @@ assign_canonical_path(const char *newval, bool doit, GucSource source) } 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) { /* |