Re: ecpg doesn't compile (datetime.h/dtime_t) - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: ecpg doesn't compile (datetime.h/dtime_t)
Date
Msg-id 200309291811.h8TIBbU10144@candle.pha.pa.us
Whole thread Raw
In response to Re: ecpg doesn't compile (datetime.h/dtime_t)  (Michael Meskes <meskes@postgresql.org>)
Responses Re: ecpg doesn't compile (datetime.h/dtime_t)
List pgsql-hackers
Michael Meskes wrote:
> On Mon, Sep 29, 2003 at 06:41:48PM +0100, Patrick Welche wrote:
> > Today's cvs doesn't compile. I think it is due to
> > cvs diff -r1.7 -r1.8 src/interfaces/ecpg/include/datetime.h
> > I have dtime_t defined in my sys/types.h. The old version of datetime.h used
>
> For ecpg it does not matter which name you use. The typedef is there for
> only one reason, namely that Informix uses dtime_t and to be compatible
> we have to define that type as well.

Should that be visible to non-Informix-compatible builds, or is there
no way to control that.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Michael Meskes
Date:
Subject: Re: ecpg doesn't compile (datetime.h/dtime_t)
Next
From: Greg Stark
Date:
Subject: Re: ADD FOREIGN KEY (was Re: [GENERAL] 7.4Beta)