Re: pgsql: Fix pg_size_pretty() to avoid overflow for inputs close to INT64

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-hackers(at)postgresql(dot)org
Cc: pgsql-committers <pgsql-committers(at)postgresql(dot)org>
Subject: Re: pgsql: Fix pg_size_pretty() to avoid overflow for inputs close to INT64
Date: 2011-04-27 20:10:37
Message-ID: 10083.1303935037@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> Excerpts from Tom Lane's message of lun abr 25 17:22:41 -0300 2011:
>> Fix pg_size_pretty() to avoid overflow for inputs close to INT64_MAX.

> Apparently this change is causing Moa's SunStudio compiler to fail an
> assertion.

[ scratches head... ] Hard to see why, there's nothing at all
interesting in that code.

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Alvaro Herrera 2011-04-27 20:31:22 Re: pgsql: Fix pg_size_pretty() to avoid overflow for inputs close to INT64
Previous Message Peter Eisentraut 2011-04-27 19:11:31 pgsql: Fix binary upgrade of altered typed tables

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2011-04-27 20:14:00 Re: make world fails
Previous Message Kevin Grittner 2011-04-27 19:59:19 SIREAD lock versus ACCESS EXCLUSIVE lock