Re: About SET SEARCH_PATH - Mailing list pgsql-docs

From Harry Broomhall
Subject Re: About SET SEARCH_PATH
Date
Msg-id cl3mmvki148sqb7uka06o9smk0a8sb3enc@4ax.com
Whole thread Raw
In response to About SET SEARCH_PATH  (Christoph Haller <ch@rodos.fzk.de>)
Responses Re: About SET SEARCH_PATH
List pgsql-docs
On Wed, 17 Sep 2003 16:40:32 -0400, tgl@sss.pgh.pa.us (Tom Lane)
wrote:

>Christoph Haller <ch@rodos.fzk.de> 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
>

   But surely not without the 'TO' word, which is how it appears in
6.13 of the User's Guide?

   Regards,
          Harry.


pgsql-docs by date:

Previous
From: "scott.marlowe"
Date:
Subject: Re: buffring in pgsql
Next
From: Tom Lane
Date:
Subject: Re: About SET SEARCH_PATH