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

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: [PATCHES] snprintf() argument reordering not working
Дата
Msg-id 1730.24.211.165.134.1133766150.squirrel@www.dunslane.net
обсуждение исходный текст
Ответ на Re: [PATCHES] snprintf() argument reordering not working  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: [PATCHES] snprintf() argument reordering not working  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Bruce Momjian said:
>
> OK, a few things.  First, Tom has fixed snprintf.c so it should
> properly process positional parameters now.  Would you first test the
> libintl version of *printf to see if it can process %$ parameters
> (probably by hacking up any language file and testing the printing),
> and then try your patch below to see if it is properly reorders the
> arguments.  If libintl does not reorder properly, but our snprintf.c
> does, would you please generate an appliable patch we can put into
> 8.1.X?  Thanks.
>
> I know I am asking a lot, but you are "the man" on this one.  :-)
>

Since the effect of the configure change I am proposing to reverse was to
force use of the *printf in libintl, don't we already know the answer to
your first question from Nicolai's report?

cheers

andrew




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Kevin Brown
Дата:
Сообщение: Re: Reducing relation locking overhead
Следующее
От: Greg Stark
Дата:
Сообщение: Re: generalizing the planner knobs