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

From Bruce Momjian
Subject Re: AIX check in datetime.h
Date
Msg-id 200606061620.k56GK3E05159@candle.pha.pa.us
Whole thread Raw
In response to Re: AIX check in datetime.h  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote:
> 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.

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. +


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: AIX check in datetime.h
Next
From: Roberto Rezende de Assis
Date:
Subject: AGREGATE FUNCTIONS