From: | Andreas Seltenreich <andreas(dot)seltenreich(at)credativ(dot)de> |
---|---|
To: | Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com> |
Cc: | Christoph Berg <christoph(dot)berg(at)credativ(dot)de>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>, Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Bernd Helmle <bernd(at)oopsware(dot)de>, Bjorn Munch <bjorn(dot)munch(at)oracle(dot)com> |
Subject: | Re: 9.3.9 and pg_multixact corruption |
Date: | 2015-09-25 07:37:39 |
Message-ID: | 87io6zdk58.fsf@credativ.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
[ adding Bjorn Munch to Cc ]
Jim Nasby writes:
> On 9/20/15 9:23 AM, Christoph Berg wrote:
>> a short update here: the customer updated the compiler to a newer
>> version, is now compiling using -O2 instead of -O3, and the code
>> generated now looks sane, so this turned out to be a compiler issue.
>> (Though it's unclear if the upgrade fixed it, or the different -O
>> level.)
>
> Do we officially not support anything > -O2? If so it'd be nice if
> configure threw at least a warning (if not an error that you had to
> explicitly over-ride).
At least the solaris binaries distributed via postgresql.org[1] have
been compiled with -xO3 according to pg_config. And their code for
multixact.c looks inconspicuous. To recap the data points:
| compiler | flags | multixact.o |
|---------------------------------------------------+-------+-------------|
| Sun C 5.12 SunOS_sparc Patch 148917-07 2013/10/18 | -xO3 | bad |
| Sun C 5.13 SunOS_Sparc 2014/10/20 | -xO2 | good |
| Sun C 5.8 Patch 121015-04 2007/01/10 | -xO3 | good |
regards,
Andreas
Footnotes:
[1] http://www.postgresql.org/download/solaris/
From | Date | Subject | |
---|---|---|---|
Next Message | Andreas Seltenreich | 2015-09-25 07:41:43 | Re: 9.3.9 and pg_multixact corruption |
Previous Message | Kouhei Kaigai | 2015-09-25 07:25:17 | Re: CustomScan support on readfuncs.c |