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