Re: Compiler warning

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Compiler warning
Дата
Msg-id 8576.1242905391@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Compiler warning  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: Compiler warning  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> On Thursday 21 May 2009 10:01:59 Heikki Linnakangas wrote:
>> Hmm, the patch looks fine to me. The strings are marked with
>> gettext_noop() in the array, and passed through _() when used in errmsg.

> But his patch changes that to

> errhint("%s", _(wentry->drophint_msg))

> so it ends up being run through gettext twice.

How so ?  errhint only passes its first argument through gettext.
        regards, tom lane


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

Предыдущее
От: Sam Mason
Дата:
Сообщение: Re: Fast ALTER TABLE ... ADD COLUMN ... DEFAULT xxx?
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Fast ALTER TABLE ... ADD COLUMN ... DEFAULT xxx?