Re: CVS compile failure

From: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: CVS compile failure
Date: 2004-07-19 13:57:09
Message-ID: 20040719105527.K797@ganymede.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, 19 Jul 2004, Tom Lane wrote:

> "Marc G. Fournier" <scrappy(at)postgresql(dot)org> writes:
>> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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(at)hub(dot)org Yahoo!: yscrappy ICQ: 7615664

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-07-19 14:38:04 Re: CVS compile failure
Previous Message Pierre Emmanuel Gros 2004-07-19 13:40:39 storage engine , mysql syntax CREATE TABLE t (i INT) ENGINE = INNODB|BDB