Re: set search_path failure - Mailing list pgsql-hackers

From Tom Lane
Subject Re: set search_path failure
Date
Msg-id 6397.1029765230@sss.pgh.pa.us
Whole thread Raw
In response to Re: set search_path failure  (Tatsuo Ishii <t-ishii@sra.co.jp>)
List pgsql-hackers
Tatsuo Ishii <t-ishii@sra.co.jp> writes:
> The man page says:
>        SET variable { TO | = } { value | 'value' | DEFAULT }

> So user naturally thinks
> set search_path to 'public,s1';
> is a correct syntax, no?

The man page needs improvement --- some variables accept a list of
values now.  In particularSET search_path = public, s1;SET search_path = "public", "s1";SET search_path = 'public',
's1';
would all be correct ways of expressing this.  The other is not, and
can't be because it would require excluding commas from the set of
characters allowed in quoted schema names.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Function result cacheing - any comments?
Next
From: Curt Sampson
Date:
Subject: Re: Inheritance