Re: AIX check in datetime.h - Mailing list pgsql-hackers

From Tom Lane
Subject Re: AIX check in datetime.h
Date
Msg-id 18039.1149610382@sss.pgh.pa.us
Whole thread Raw
In response to Re: AIX check in datetime.h  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: AIX check in datetime.h
Re: AIX check in datetime.h
List pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Joachim Wieland wrote:
>> Can someone please explain why in include/utils/datetime.h (struct datetkn)
>> there is a check for _AIX that either initializes a char* pointer or a char
>> array?

> Wow, that is strange.  We could remove it for 8.2 and see how testing goes.

It looks like a workaround for some ancient compiler problem.  [ digs
for awhile... ]  Very ancient: we inherited that hack from Berkeley, see
http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/Attic/nabstime.h

I bet we can remove it.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: AIX check in datetime.h
Next
From: "ranbeer makin"
Date:
Subject: Re: adding new field