File tree Expand file tree Collapse file tree 3 files changed +23
-3
lines changed Expand file tree Collapse file tree 3 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 11<!--
2- $Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.115 2002/08/21 16:08:19 momjian Exp $
2+ $Header: /cvsroot/pgsql/doc/src/sgml/func.sgml,v 1.116 2002/08/22 04:52:16 momjian Exp $
33PostgreSQL documentation
44-->
55
@@ -5144,6 +5144,17 @@ SELECT NULLIF(value, '(none)') ...
51445144 path returned.
51455145 </para>
51465146
5147+ <para id=set-search-path xreflabel="SET SEARCH_PATH">
5148+ <indexterm>
5149+ <primary>search path</primary>
5150+ <secondary>changing at runtime</secondary>
5151+ </indexterm>
5152+ The search path may be altered by a runtime-alterable GUC setting. The
5153+ command to use is <command>
5154+ SET SEARCH_PATH '<varname>schema</varname>'[,'<varname>schema</varname>']...
5155+ </command>
5156+ </para>
5157+
51475158 <table>
51485159 <title>System Information Functions</title>
51495160 <tgroup cols="3">
Original file line number Diff line number Diff line change 11<!--
2- $Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.126 2002/08/18 03:03:25 momjian Exp $
2+ $Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.127 2002/08/22 04:52:17 momjian Exp $
33-->
44
55<Chapter Id="runtime">
@@ -1608,6 +1608,10 @@ dynamic_library_path = '/usr/local/lib/postgresql:/home/my_project/lib:$libdir'
16081608 </para>
16091609
16101610 <para>
1611+ <indexterm>
1612+ <primary>schemas</primary>
1613+ <secondary>current schema</secondary>
1614+ </indexterm>
16111615 The current effective value of the search path can be examined
16121616 via the SQL function <function>current_schemas()</>. This is not
16131617 quite the same as examining the value of
Original file line number Diff line number Diff line change 11<!--
2- $Header: /cvsroot/pgsql/doc/src/sgml/syntax.sgml,v 1.66 2002/08/13 20:40:43 momjian Exp $
2+ $Header: /cvsroot/pgsql/doc/src/sgml/syntax.sgml,v 1.67 2002/08/22 04:52:17 momjian Exp $
33-->
44
55<chapter id="sql-syntax">
@@ -965,6 +965,11 @@ SELECT 3 OPERATOR(pg_catalog.+) 4;
965965 place <literal>pg_catalog</> at the end of your search path if you
966966 prefer to have user-defined names override built-in names.
967967 </para>
968+
969+ <para>
970+ The search path is determined by the GUC variable SEARCH_PATH and
971+ may be changed at any time. See <xref linkend="set-search-path">.
972+ </para>
968973 </sect2>
969974
970975 <sect2 id="sql-reserved-names">
You can’t perform that action at this time.
0 commit comments