Re: AIX check in datetime.h

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Joachim Wieland <joe(at)mcknight(dot)de>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: AIX check in datetime.h
Date: 2006-06-06 16:13:02
Message-ID: 18039.1149610382@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message ranbeer makin 2006-06-06 16:14:04 Re: adding new field
Previous Message Bruce Momjian 2006-06-06 15:52:19 Re: AIX check in datetime.h