Re: [WIP] plpgsql is not translate-aware

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [WIP] plpgsql is not translate-aware
Дата
Msg-id 2107.1223511762@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [WIP] plpgsql is not translate-aware  (Alvaro Herrera <alvherre@commandprompt.com>)
Ответы Re: [WIP] plpgsql is not translate-aware  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> Tom Lane wrote:
>> Another way, which would save some amount of string constant space,
>> is to have both elog_finish and the ereport macro pass NULL, and let
>> errstart insert the default:

> Hmm, true.  I think this means we need to redefine ereport(), not just
> TEXTDOMAIN, in each module (in fact it makes TEXTDOMAIN goes away as a
> symbol).  Same number of lines on each module though, so it's not a
> considerable difference.

No, you could have TEXTDOMAIN be defined as NULL by default, and let
modules redefine it as "foo".
        regards, tom lane


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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: [WIP] plpgsql is not translate-aware
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [WIP] plpgsql is not translate-aware