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