Re: CVS compile failure

Поиск
Список
Период
Сортировка
От Marc G. Fournier
Тема Re: CVS compile failure
Дата
Msg-id 20040719105527.K797@ganymede.hub.org
обсуждение исходный текст
Ответ на Re: CVS compile failure  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, 19 Jul 2004, Tom Lane wrote:

> "Marc G. Fournier" <scrappy@postgresql.org> writes:
>> Bruce Momjian <pgman@candle.pha.pa.us> writes:
>>> I am seeing a compile failure in current CVS from strptime():
>>> ./backend/access/transam/xlog.c:    if (strptime(tok2, "%Y-%m-%d %H:%M:%S", &tm) == NULL)
>>> BSD/OS does not have that function.
>
>> Under FreeBSD:
>> "     The strptime() function does not correctly handle multibyte characters in
>>       the format argument"
>> Not sure how critical that is for what you are doing, mind you ...
>
> Not at all, since in this call the format is the fixed constant
> "%Y-%m-%d %H:%M:%S".  But it's odd that your BSD variant has strptime()
> where Bruce's does not.

Bruce, how old is your system? :)  If I'm reading the man page right, it 
was introduced on FreeBSD in Jan of '03 ...

----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email: scrappy@hub.org           Yahoo!: yscrappy              ICQ: 7615664


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: pg_dump bug fixing
Следующее
От: Tom Lane
Дата:
Сообщение: Re: CVS compile failure