Re: BUG #2758: missing quotes in SQL sentence

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: BUG #2758: missing quotes in SQL sentence
Дата
Msg-id 455ACF98.8000500@postgresql.org
обсуждение исходный текст
Ответ на Re: BUG #2758: missing quotes in SQL sentence  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-bugs
Peter Eisentraut wrote:
> Dave Page wrote:
>> No, it's the intended behaviour. pgAdmin doesn't have any idea how
>> you want to quote SET values, so it leaves it to you to add them.
>
> Just quote them all.

Doesn't work:

scratch=# set search_path = '"MyNameSpace1", "MyNameSpace2"';
ERROR:  schema ""MyNameSpace1", "MyNameSpace2"" does not exist

That one must be unquoted:

scratch=# set search_path = "MyNameSpace1", "MyNameSpace2";
SET

Regards, Dave.

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: BUG #2758: missing quotes in SQL sentence
Следующее
От: Zdenek Kotala
Дата:
Сообщение: Re: 8.2bet2 failed build on Solaris 10 / x86-64 / SUN Studio