Re: quoting problem

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: quoting problem
Date: 2006-12-18 11:33:24
Message-ID: Pine.LNX.4.64.0612181432560.16338@sn.sai.msu.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, 18 Dec 2006, Martijn van Oosterhout wrote:

> 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.

Thanks for the explanation !

>
> Have a nice day,
>

Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, Research Scientist, Head of AstroNet (www.astronet.ru),
Sternberg Astronomical Institute, Moscow University, Russia
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(495)939-16-83, +007(495)939-23-83

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Gregory Stark 2006-12-18 11:35:44 Question about debugging bootstrapping and catalog entries
Previous Message Martijn van Oosterhout 2006-12-18 11:14:37 Re: quoting problem