Re: [HACKERS] [COMMITTERS] pgsql: Fix pg_size_pretty() to avoid overflow for inputs close to INT64

2011-04-27 Thread Alvaro Herrera
Excerpts from Tom Lane's message of miƩ abr 27 17:10:37 -0300 2011: > Alvaro Herrera 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 c

Re: [HACKERS] [COMMITTERS] pgsql: Fix pg_size_pretty() to avoid overflow for inputs close to INT64

2011-04-27 Thread Tom Lane
Alvaro Herrera 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