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

From Tom Lane
Subject Re: [PATCHES] snprintf() argument reordering not working
Date
Msg-id 9149.1133722664@sss.pgh.pa.us
Whole thread Raw
In response to Re: [PATCHES] snprintf() argument reordering not working  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: [PATCHES] snprintf() argument reordering not working  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> 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.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Martijn van Oosterhout
Date:
Subject: Re: Upcoming PG re-releases
Next
From: Andrew Dunstan
Date:
Subject: Re: pg_restore [archiver] file offset in dump file is too