Re: AIX check in datetime.h

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(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:20:03
Message-ID: 200606061620.k56GK3E05159@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tom Lane wrote:
> 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.

OK, removed. Let's see if we get failure feedback.

--
Bruce Momjian http://candle.pha.pa.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Travis Cross 2006-06-06 16:58:10 Re: Duplicate rows sneaking in despite PRIMARY KEY / UNIQUE
Previous Message Tom Lane 2006-06-06 16:19:47 Re: AIX check in datetime.h