public inbox for [email protected]
help / color / mirror / Atom feedFrom: Tom Lane <[email protected]>
To: Christoph Haller <[email protected]>
Cc: [email protected]
Subject: Re: About SET SEARCH_PATH
Date: Wed, 17 Sep 2003 16:40:32 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
Christoph Haller <[email protected]> writes:
>> The search path may be altered by a run-time setting.
>> The command to use is SET SEARCH_PATH 'schema'[,'schema']...
> It should be
> SET SEARCH_PATH TO schema[,schema]...
Actually, you can do it either way:
regression=# set search_path TO a,b,c;
regression=# set search_path TO 'a','b','c';
although not
regression=# set search_path TO 'a,b,c';
ERROR: schema "a,b,c" does not exist
This is mainly for legacy reasons (the grammar involved was originally
used for DateStyle...). I don't object to documenting primarily the
first form, though.
> (2)
> $PGSQLD/doc/html/sql-set.html
> This page does not mention the SEARCH_PATH variable at all.
> Is this intended?
Yeah; that page only documents SET items that are not in the main list
of run-time-configurable parameters.
regards, tom lane
view thread (4+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: About SET SEARCH_PATH
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox