Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
a051ab0a
Commit
a051ab0a
authored
Apr 04, 2008
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove no-longer-used function assign_backslash_quote()
parent
4f22db50
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
26 deletions
+1
-26
src/backend/utils/misc/guc.c
src/backend/utils/misc/guc.c
+1
-26
No files found.
src/backend/utils/misc/guc.c
View file @
a051ab0a
...
...
@@ -10,7 +10,7 @@
* Written by Peter Eisentraut <peter_e@gmx.net>.
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.44
5 2008/04/04 11:47:19 mha
Exp $
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.44
6 2008/04/04 17:25:23 tgl
Exp $
*
*--------------------------------------------------------------------
*/
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment