Re: [PATCHES] snprintf() argument reordering not working

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [PATCHES] snprintf() argument reordering not working
Дата
Msg-id 200512042209.jB4M9g004208@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [PATCHES] snprintf() argument reordering not working  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [PATCHES] snprintf() argument reordering not working  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Tom Lane wrote:
> 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.

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 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 по дате отправления:

Предыдущее
От: Zoltan Boszormenyi
Дата:
Сообщение: Re: SERIAL type feature request
Следующее
От: Tino Wildenhain
Дата:
Сообщение: Re: SERIAL type feature request