From: | Alvaro Herrera <alvherre(at)commandprompt(dot)com> |
---|---|
To: | Dave Page <dpage(at)postgresql(dot)org> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, 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-28 20:05:19 |
Message-ID: | 1304021091-sup-6975@alvh.no-ip.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
Excerpts from Dave Page's message of jue abr 28 16:33:44 -0300 2011:
> I think we may have to award Sun (or whats left of them) the "Bizarre
> compiler bug of the week" award here. It's actually the val++; that's
> causing the assertion, but I'm darned if I can get it to work. I've
> tried spelling out the addition, casting, changing val to an int64*,
> renaming val, and probably a dozen or so things that are broken, all
> with no success.
Err, val = val + 1?
--
Álvaro Herrera <alvherre(at)commandprompt(dot)com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2011-04-28 20:05:38 | Re: pgsql: Fix pg_size_pretty() to avoid overflow for inputs close to INT64 |
Previous Message | Dave Page | 2011-04-28 19:57:14 | Re: pgsql: Fix pg_size_pretty() to avoid overflow for inputs close to INT64 |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2011-04-28 20:05:38 | Re: pgsql: Fix pg_size_pretty() to avoid overflow for inputs close to INT64 |
Previous Message | Tom Lane | 2011-04-28 20:01:59 | Re: Extreme bloating of intarray GiST indexes |