Re: Re: [COMMITTERS] pgsql: Redefine _() to dgettext() instead of gettext() so that it uses

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Re: [COMMITTERS] pgsql: Redefine _() to dgettext() instead of gettext() so that it uses
Дата
Msg-id 499BF4C8.7000202@gmx.net
обсуждение исходный текст
Ответ на Re: [COMMITTERS] pgsql: Redefine _() to dgettext() instead of gettext() so that it uses  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Alvaro Herrera wrote:
> Peter Eisentraut wrote:
>> Log Message:
>> -----------
>> Redefine _() to dgettext() instead of gettext() so that it uses the plpgsql
>> text domain, instead of the postgres one (or whatever the default may be).
> 
> Hmm, so is this needed on all other PLs too?

In principle yes.  Or call dgettext() explicitly, which is also done in 
some cases.  However, in most cases messages are issued through 
ereport(), which handles this automatically (which you implemented, I 
recall).


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

Предыдущее
От: Thomas Hallgren
Дата:
Сообщение: Re: [Pljava-dev] Re: Should creating a new base type require superuser status?
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Restore frozen xids for binary upgrades