int8.c compile problem on UnixWare 7.x

Billy G. Allie <bill.allie@mug.org>

From: "Billy G. Allie" <Bill.Allie@mug.org>
To: pgsql-patches@postgresql.org
Cc: pgsql-hackers@postgresql.org
Date: 2000-03-31T19:39:14Z
Lists: pgsql-hackers

Attachments

It appears that some code in backend/utils/adt/int8.c tickles a compiler bug 
in SCO's UDK when it is compiled with optimazation turned on.  The attached 
patch, which rewrites a for statement as a while statement corrects the 
problem.