Re: Custom type's modifiers - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Custom type's modifiers
Date
Msg-id 1754334.1719507925@sss.pgh.pa.us
Whole thread Raw
In response to Re: Custom type's modifiers  (Marthin Laubscher <postgres@lobeshare.co.za>)
List pgsql-hackers
Marthin Laubscher <postgres@lobeshare.co.za> writes:
> I confess to some uncertainty whether the PostgreSQL specific x::y notation and the standards based CAST(x AS y)
wouldboth be addressed by creating a cast. 

Those notations are precisely equivalent, modulo concerns about
operator precedence (ie, if x isn't a single token you might have
to parenthesize x to get (x)::y to mean the same as CAST(x AS y)).

            regards, tom lane



pgsql-hackers by date:

Previous
From: Marthin Laubscher
Date:
Subject: Re: Custom type's modifiers
Next
From: Heikki Linnakangas
Date:
Subject: Re: Visibility bug with prepared transaction with subtransactions on standby