From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andres Freund <andres@anarazel.de>
Cc: Fabien COELHO <coelho@cri.ensmp.fr>
Cc: elprans@gmail.com, PostgreSQL Bugs <pgsql-bugs@lists.postgresql.org>
Subject: Re: BUG #15458: pg_typeof inconsistency on negative integer constant limits
Date: Fri, 26 Oct 2018 09:17:38 +0100
Message-ID: <23665.1540541858@sss.pgh.pa.us> (raw)
In-Reply-To: <20181026062430.653yvpzjweuketkb@alap3.anarazel.de>
References: <15458-632e422e26e19786@postgresql.org>
<20181024205432.yh2jswtvbhl3x536@alap3.anarazel.de>
<alpine.DEB.2.21.1810260759520.27686@lancre>
<20181026062430.653yvpzjweuketkb@alap3.anarazel.de>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, andres@anarazel.de, coelho@cri.ensmp.fr
Subject: Re: BUG #15458: pg_typeof inconsistency on negative integer constant limits
In-Reply-To: <23665.1540541858@sss.pgh.pa.us>
References: <15458-632e422e26e19786@postgresql.org> <20181024205432.yh2jswtvbhl3x536@alap3.anarazel.de> <alpine.DEB.2.21.1810260759520.27686@lancre> <20181026062430.653yvpzjweuketkb@alap3.anarazel.de> <23665.1540541858@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox