Re: FRONTEND in ecpg - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: FRONTEND in ecpg
Date
Msg-id 200404131850.i3DIoB806031@candle.pha.pa.us
Whole thread Raw
In response to FRONTEND in ecpg  ("Magnus Hagander" <mha@sollentuna.net>)
Responses Re: FRONTEND in ecpg  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Magnus Hagander wrote:
> Hi!
> 
> Is there any reason why FRONTEND is not specified in the ecpg build
> (specifically the pgtypeslib)? I'm running into build problems because
> it pulls backend-specific stuff from port.h in
> (postgres_fe.h->c.h->port.h) when tweaking the timezone code.
> 
> Or should FRONTEND perhaps even be explicitly #defined in postgres_fe.h?

You know, that is an excellent idea. I have been adding FRONTEND to
specific Makefiles just in cases where I need special src/port compiles
of files, but putting it in postgres_fe.h would hit all of them nicely.

Let me make that change now.

--  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: Peter Eisentraut
Date:
Subject: Re: rotatelogs integration in pg_ctl
Next
From: Bruce Momjian
Date:
Subject: Re: FRONTEND in ecpg