Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita051ab0

Browse files
committed
Remove no-longer-used function assign_backslash_quote()
1 parent4f22db5 commita051ab0

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/0411:47:19 mha Exp $
13+
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.446 2008/04/0417:25:23 tgl Exp $
1414
*
1515
*--------------------------------------------------------------------
1616
*/
@@ -7111,31 +7111,6 @@ assign_canonical_path(const char *newval, bool doit, GucSource source)
71117111
returnnewval;
71127112
}
71137113

7114-
staticconstchar*
7115-
assign_backslash_quote(constchar*newval,booldoit,GucSourcesource)
7116-
{
7117-
BackslashQuoteTypebq;
7118-
boolbqbool;
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-
elseif (parse_bool(newval,&bqbool))
7127-
{
7128-
bq=bqbool ?BACKSLASH_QUOTE_ON :BACKSLASH_QUOTE_OFF;
7129-
}
7130-
else
7131-
returnNULL;/* reject */
7132-
7133-
if (doit)
7134-
backslash_quote=bq;
7135-
7136-
returnnewval;
7137-
}
7138-
71397114
staticconstchar*
71407115
assign_timezone_abbreviations(constchar*newval,booldoit,GucSourcesource)
71417116
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp