Re: quoting problem

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: quoting problem
Дата
Msg-id 20061218111437.GA5720@svana.org
обсуждение исходный текст
Ответ на quoting problem  (Oleg Bartunov <oleg@sai.msu.su>)
Ответы Re: quoting problem  (Oleg Bartunov <oleg@sai.msu.su>)
Список pgsql-hackers
On Mon, Dec 18, 2006 at 02:11:42PM +0300, Oleg Bartunov wrote:
> Hi there,
>
> I'm a bit confused with the quoting, see below:
>
> contrib_regression=# ALTER OPERATOR CLASS pg_catalog.int4_ops USING btree
> OWNER TO megera;
> contrib_regression=# ALTER OPERATOR CLASS "pg_catalog.int4_ops" USING btree
> OWNER TO megera;
> ERROR:  operator class "pg_catalog.int4_ops" does not exist for access
> method "btree"
> contrib_regression=# ALTER OPERATOR CLASS pg_catalog."int4_ops" USING btree
> OWNER TO megera;
> ALTER OPERATOR CLASS
>
> Is't intentional or bug ?

It's normal. In your second example you've got a single identifier. The
identifier itself does not contain the '.', that's a seperator and so
isn't part of the actual identifier.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

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

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: quoting problem
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: quoting problem