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
e80f9dfa
Commit
e80f9dfa
authored
Dec 23, 2005
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add quotes around search_path "$user" so that SHOW output can be used in
SET.
parent
2f1a78e2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
8 deletions
+8
-8
doc/src/sgml/config.sgml
doc/src/sgml/config.sgml
+3
-3
doc/src/sgml/ddl.sgml
doc/src/sgml/ddl.sgml
+2
-2
src/backend/utils/misc/guc.c
src/backend/utils/misc/guc.c
+2
-2
src/backend/utils/misc/postgresql.conf.sample
src/backend/utils/misc/postgresql.conf.sample
+1
-1
No files found.
doc/src/sgml/config.sgml
View file @
e80f9dfa
<!--
<!--
$PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.
39 2005/12/20 02:30:35 tgl
Exp $
$PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.
40 2005/12/23 00:38:03 momjian
Exp $
-->
-->
<chapter Id="runtime-config">
<chapter Id="runtime-config">
<title>Server Configuration</title>
<title>Server Configuration</title>
...
@@ -39,7 +39,7 @@ $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.39 2005/12/20 02:30:35 tgl Exp $
...
@@ -39,7 +39,7 @@ $PostgreSQL: pgsql/doc/src/sgml/config.sgml,v 1.39 2005/12/20 02:30:35 tgl Exp $
# This is a comment
# This is a comment
log_connections = yes
log_connections = yes
log_destination = 'syslog'
log_destination = 'syslog'
search_path = '
$user
, public'
search_path = '
"$user"
, public'
</programlisting>
</programlisting>
One parameter is specified per line. The equal sign between name and
One parameter is specified per line. The equal sign between name and
value is optional. Whitespace is insignificant and blank lines are
value is optional. Whitespace is insignificant and blank lines are
...
@@ -3117,7 +3117,7 @@ SELECT * FROM parent WHERE key = 2400;
...
@@ -3117,7 +3117,7 @@ SELECT * FROM parent WHERE key = 2400;
<para>
<para>
The default value for this parameter is
The default value for this parameter is
<literal>'
$user
, public'</literal> (where the second part will be
<literal>'
"$user"
, public'</literal> (where the second part will be
ignored if there is no schema named <literal>public</>).
ignored if there is no schema named <literal>public</>).
This supports shared use of a database (where no users
This supports shared use of a database (where no users
have private schemas, and all share use of <literal>public</>),
have private schemas, and all share use of <literal>public</>),
...
...
doc/src/sgml/ddl.sgml
View file @
e80f9dfa
<
!-- $PostgreSQL: pgsql/doc/src/sgml/ddl.sgml,v 1.5
0 2005/11/04 23:53:18 tgl
Exp $ -->
<
!-- $PostgreSQL: pgsql/doc/src/sgml/ddl.sgml,v 1.5
1 2005/12/23 00:38:03 momjian
Exp $ -->
<
chapter
id
=
"ddl"
>
<
chapter
id
=
"ddl"
>
<
title
>
Data
Definition
</
title
>
<
title
>
Data
Definition
</
title
>
...
@@ -1650,7 +1650,7 @@ SHOW search_path;
...
@@ -1650,7 +1650,7 @@ SHOW search_path;
<
screen
>
<
screen
>
search_path
search_path
--------------
--------------
$
user
,
public
"$user"
,
public
</
screen
>
</
screen
>
The
first
element
specifies
that
a
schema
with
the
same
name
as
The
first
element
specifies
that
a
schema
with
the
same
name
as
the
current
user
is
to
be
searched
.
If
no
such
schema
exists
,
the
current
user
is
to
be
searched
.
If
no
such
schema
exists
,
...
...
src/backend/utils/misc/guc.c
View file @
e80f9dfa
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
* Written by Peter Eisentraut <peter_e@gmx.net>.
* Written by Peter Eisentraut <peter_e@gmx.net>.
*
*
* IDENTIFICATION
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.30
2 2005/12/20 02:30:36 tgl
Exp $
* $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.30
3 2005/12/23 00:38:04 momjian
Exp $
*
*
*--------------------------------------------------------------------
*--------------------------------------------------------------------
*/
*/
...
@@ -1902,7 +1902,7 @@ static struct config_string ConfigureNamesString[] =
...
@@ -1902,7 +1902,7 @@ static struct config_string ConfigureNamesString[] =
GUC_LIST_INPUT
|
GUC_LIST_QUOTE
GUC_LIST_INPUT
|
GUC_LIST_QUOTE
},
},
&
namespace_search_path
,
&
namespace_search_path
,
"
$user
,public"
,
assign_search_path
,
NULL
"
\"
$user
\"
,public"
,
assign_search_path
,
NULL
},
},
{
{
...
...
src/backend/utils/misc/postgresql.conf.sample
View file @
e80f9dfa
...
@@ -364,7 +364,7 @@
...
@@ -364,7 +364,7 @@
# - Statement Behavior -
# - Statement Behavior -
#search_path = '
$user
,public' # schema names
#search_path = '
"$user"
,public' # schema names
#default_tablespace = '' # a tablespace name, '' uses
#default_tablespace = '' # a tablespace name, '' uses
# the default
# the default
#check_function_bodies = on
#check_function_bodies = on
...
...
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