Re: System vs non-system casts

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
Cc: Michael Paesold <mpaesold(at)gmx(dot)at>, andrew(at)supernews(dot)com, pgsql-hackers(at)postgresql(dot)org, Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
Subject: Re: System vs non-system casts
Date: 2005-04-12 16:34:58
Message-ID: 21810.1113323698@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> writes:
> But yes, schema-qualifying casts seems weird:
> '123'::someschema.user_type

> Is that even accepted by the grammar?

Yes, but it'd be taken as a qualification on the type name not the cast
per se. Offhand I'm not sure where we could even put a schema name for
the cast itself in the CAST syntax ... so that idea probably doesn't fly
at all.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paesold 2005-04-12 16:38:41 Re: System vs non-system casts
Previous Message Alvaro Herrera 2005-04-12 16:13:31 Re: System vs non-system casts