Re: BUG #15519: Casting float4 into int4 gets the wrong sign instead of "integer out of range" error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Victor Petrovykh <victor(at)magic(dot)io>
Cc: andrew(at)tao11(dot)riddles(dot)org(dot)uk, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #15519: Casting float4 into int4 gets the wrong sign instead of "integer out of range" error
Date: 2018-11-28 20:49:40
Message-ID: 14158.1543438180@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Victor Petrovykh <victor(at)magic(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2018-11-28 20:52:45 BUG #15527: Issue converting from local date/time to 'timestamp with time zone' prior to dst transition
Previous Message Peter Geoghegan 2018-11-28 19:31:48 Re: BUG #15460: Error while creating index or constraint