Thanks to visit codestin.com
Credit goes to postgrespro.com

Re: [PATCHES] snprintf() argument reordering not working - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [PATCHES] snprintf() argument reordering not working
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: [PATCHES] snprintf() argument reordering not working  (Tom Lane <[email protected]>)
Responses Re: [PATCHES] snprintf() argument reordering not working
List pgsql-hackers
Tom Lane wrote:
> Andrew Dunstan <[email protected]> writes:
> > That got me through the backend compile and through libpq to ecpg, which 
> > fell over at the link stage complaining about missing references to 
> > pg_sprintf and pg_snprintf ... not sure how to fix that - windows 
> > experts, please advise.
> 
> Plan A would be to make libpq export pg_snprintf and friends, Plan B
> would be to give ecpg its own copy of snprintf.o.  Plan A is probably
> better since you're going to hit the same issue no doubt in all of the
> src/bin programs.

I am confused why we would need either of these.  All apps use
libpgport, and that pg_*printf should be in that library.  The original
work Andrew did has problems particularly with ecpg, but why does ecpg
cause problems?  Doesn't it link in pgport?

--  Bruce Momjian                        |  http://candle.pha.pa.us [email protected]               |  (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: Zoltan Boszormenyi
Date:
Subject: Re: SERIAL type feature request
Next
From: Tino Wildenhain
Date:
Subject: Re: SERIAL type feature request