Re: System vs non-system casts - Mailing list pgsql-hackers

From Tom Lane
Subject Re: System vs non-system casts
Date
Msg-id 21810.1113323698@sss.pgh.pa.us
Whole thread Raw
In response to Re: System vs non-system casts  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
List pgsql-hackers
Alvaro Herrera <alvherre@dcc.uchile.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


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: System vs non-system casts
Next
From: "Michael Paesold"
Date:
Subject: Re: System vs non-system casts