Skip to content

Commit a051ab0

Browse files
committed
Remove no-longer-used function assign_backslash_quote()
1 parent 4f22db5 commit a051ab0

File tree

1 file changed

+1
-26
lines changed
  • src/backend/utils/misc

1 file changed

+1
-26
lines changed

src/backend/utils/misc/guc.c

Lines changed: 1 addition & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* Written by Peter Eisentraut <peter_e@gmx.net>.
1111
*
1212
* IDENTIFICATION
13-
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.445 2008/04/04 11:47:19 mha Exp $
13+
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.446 2008/04/04 17:25:23 tgl Exp $
1414
*
1515
*--------------------------------------------------------------------
1616
*/
@@ -7111,31 +7111,6 @@ assign_canonical_path(const char *newval, bool doit, GucSource source)
71117111
return newval;
71127112
}
71137113

7114-
static const char *
7115-
assign_backslash_quote(const char *newval, bool doit, GucSource source)
7116-
{
7117-
BackslashQuoteType bq;
7118-
bool bqbool;
7119-
7120-
/*
7121-
* Although only "on", "off", and "safe_encoding" are documented, we use
7122-
* parse_bool so we can accept all the likely variants of "on" and "off".
7123-
*/
7124-
if (pg_strcasecmp(newval, "safe_encoding") == 0)
7125-
bq = BACKSLASH_QUOTE_SAFE_ENCODING;
7126-
else if (parse_bool(newval, &bqbool))
7127-
{
7128-
bq = bqbool ? BACKSLASH_QUOTE_ON : BACKSLASH_QUOTE_OFF;
7129-
}
7130-
else
7131-
return NULL; /* reject */
7132-
7133-
if (doit)
7134-
backslash_quote = bq;
7135-
7136-
return newval;
7137-
}
7138-
71397114
static const char *
71407115
assign_timezone_abbreviations(const char *newval, bool doit, GucSource source)
71417116
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy