Re: set search_path failure

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: set search_path failure
Дата
Msg-id 6397.1029765230@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: set search_path failure  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Function result cacheing - any comments?
Следующее
От: Curt Sampson
Дата:
Сообщение: Re: Inheritance