SET.
<!--
-$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">
<title>Server Configuration</title>
# This is a comment
log_connections = yes
log_destination = 'syslog'
-search_path = '$user, public'
+search_path = '"$user", public'
</programlisting>
One parameter is specified per line. The equal sign between name and
value is optional. Whitespace is insignificant and blank lines are
<para>
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</>).
This supports shared use of a database (where no users
have private schemas, and all share use of <literal>public</>),
-<!-- $PostgreSQL: pgsql/doc/src/sgml/ddl.sgml,v 1.50 2005/11/04 23:53:18 tgl Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/ddl.sgml,v 1.51 2005/12/23 00:38:03 momjian Exp $ -->
<chapter id="ddl">
<title>Data Definition</title>
<screen>
search_path
--------------
- $user,public
+ "$user",public
</screen>
The first element specifies that a schema with the same name as
the current user is to be searched. If no such schema exists,
* Written by Peter Eisentraut <peter_e@gmx.net>.
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.302 2005/12/20 02:30:36 tgl Exp $
+ * $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.303 2005/12/23 00:38:04 momjian Exp $
*
*--------------------------------------------------------------------
*/
GUC_LIST_INPUT | GUC_LIST_QUOTE
},
&namespace_search_path,
- "$user,public", assign_search_path, NULL
+ "\"$user\",public", assign_search_path, NULL
},
{
# - Statement Behavior -
-#search_path = '$user,public' # schema names
+#search_path = '"$user",public' # schema names
#default_tablespace = '' # a tablespace name, '' uses
# the default
#check_function_bodies = on