Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
> ohp@pyrenet.fr wrote:
>> Never saw a problem with gcc, hp-ux, darwin or M$?
> Sure, that's not what I was saying. My point is, when there's a bug in
> one version of a compiler, we shouldn't try to adapt PostgreSQL to that
> bug. Instead, we should narrow down the bug, get it fixed in the
> compiler, and tell users to use the most recent version of the compiler
> where the bug has been fixed.
We should certainly file a bug report against the compiler. However,
ISTM a workaround is a good idea too if it's not too ugly (which this
one isn't). If a bug exists in one compiler there might be similar
bugs in other compilers.
regards, tom lane