Re: BUG #15458: pg_typeof inconsistency on negative integer constant limits - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #15458: pg_typeof inconsistency on negative integer constant limits
Date
Msg-id 23665.1540541858@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #15458: pg_typeof inconsistency on negative integer constantlimits  (Andres Freund <andres@anarazel.de>)
List pgsql-bugs
Andres Freund <andres@anarazel.de> writes:
> On 2018-10-26 08:02:59 +0200, Fabien COELHO wrote:
>> The error message may be nicer by expliciting the offending string, and/or
>> locating it precisely within the query?

> Including the string would make the function not leak proof though, so
> that seems like a no-go.  Location would be possible, but there's some
> architectural issues around doing so at execution time - we only really
> have the setup to do so at parse time currently.  Tom was looking to
> change that at some point however, iirc.

Yeah.  That project was on hold till you got done whacking expression
execution around; but if that's about finished, I might take another look.

            regards, tom lane


pgsql-bugs by date:

Previous
From: Andres Freund
Date:
Subject: Re: BUG #15458: pg_typeof inconsistency on negative integer constantlimits
Next
From: PG Bug reporting form
Date:
Subject: BUG #15460: Error while creating index or constraint