Re: [HACKERS] column labels now with obligatory 'as' - Mailing list pgsql-hackers

From darrenk@insightdist.com (Darren King)
Subject Re: [HACKERS] column labels now with obligatory 'as'
Date
Msg-id 9801091535.AA37266@ceodev
Whole thread Raw
List pgsql-hackers
> Have just tried 9. Jan snapshot on AIX 4.1.5,
> compiles with gcc not with cc (fails in heaptuple.c), aix won't get
> defined though, did a -Daix

IBM compiler doesn't like the (void)NULLs in the heap_getattr and
StrNCpy macros.  Change to (bool)NULL in heap_getattr in include/
access/heapam.h and to (char)NULL in StrNCpy in include/c.h. In 6.2,
heap_getattr has (char)NULL (which is what bool is, so this worked),
but gcc gave warnings, so they were changed to _errors_ to "fix" them
for 6.3.

darrenk

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] varchar/char size
Next
From: Keith Parks
Date:
Subject: Trouble with exp() on S/Linux?