Re: AIX check in datetime.h

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: AIX check in datetime.h
Дата
Msg-id 18039.1149610382@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: AIX check in datetime.h  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: AIX check in datetime.h  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: AIX check in datetime.h  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: AIX check in datetime.h
Следующее
От: "ranbeer makin"
Дата:
Сообщение: Re: adding new field