Re: proposal: early casting in plpgsql - Mailing list pgsql-hackers

From Tom Lane
Subject Re: proposal: early casting in plpgsql
Date
Msg-id 23777.1243537760@sss.pgh.pa.us
Whole thread Raw
In response to Re: proposal: early casting in plpgsql  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: proposal: early casting in plpgsql  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
> for typmod others then -1 we should to use IO cast - but we should to
> check, if it's one from known casts.

I still think it's fundamentally wrong to be treating typmod -1 so
differently from other typmods.  If this behavior is sane at all then
it should work in both cases.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: proposal: early casting in plpgsql
Next
From: Kevin Field
Date:
Subject: plperl error format vs plpgsql error format vs pgTAP