pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Victor Petrovykh <victor@magic.io>
Cc: andrew@tao11.riddles.org.uk
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15519: Casting float4 into int4 gets the wrong sign instead of "integer out of range" error
Date: Wed, 28 Nov 2018 15:49:40 -0500
Message-ID: <14158.1543438180@sss.pgh.pa.us> (raw)
In-Reply-To: <CAJ-A5aOFf8XDiLhEtaKHkZYK-nNcvbrBMARSSOtGqMK1RMdPqA@mail.gmail.com>
References: <15519-4fc785b483201ff1@postgresql.org>
	<874lc7sb1a.fsf@news-spur.riddles.org.uk>
	<13162.1543014227@sss.pgh.pa.us>
	<87zhtzqs9o.fsf@news-spur.riddles.org.uk>
	<15115.1543017152@sss.pgh.pa.us>
	<87va4nqr1a.fsf@news-spur.riddles.org.uk>
	<CAJ-A5aNZjv+BSg08ZtMwsmiqucKcBeSirfYs16AnY5azD=ZHZw@mail.gmail.com>
	<18151.1543023756@sss.pgh.pa.us>
	<CAJ-A5aOFf8XDiLhEtaKHkZYK-nNcvbrBMARSSOtGqMK1RMdPqA@mail.gmail.com>

Victor Petrovykh <victor@magic.io> writes:
> I have one more related question: is a fix for this likely to appear in the
> next Postgres release?

Yes, it was pushed last week.

https://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=e473e1f2b

			regards, tom lane




view thread (12+ messages)

Message-ID: <14158.1543438180@sss.pgh.pa.us>
Permalink:  ../14158.1543438180@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/14158.1543438180@sss.pgh.pa.us

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, victor@magic.io, andrew@tao11.riddles.org.uk, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #15519: Casting float4 into int4 gets the wrong sign instead of "integer out of range" error
  In-Reply-To: <14158.1543438180@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