Re: Parsing of pg_hba.conf and authentication inconsistencies

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Parsing of pg_hba.conf and authentication inconsistencies
Дата
Msg-id 10287.1221501859@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Parsing of pg_hba.conf and authentication inconsistencies  (Magnus Hagander <magnus@hagander.net>)
Ответы Re: Parsing of pg_hba.conf and authentication inconsistencies
Список pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
>>> Or perhaps the DETAIL portion would be more appropriate as a CONTEXT?
>> 
>> +1

> Is this the proper syntax for errcontext() messags?

Hmm, I think I'd suggest following the wording already in use in
ts_locale.c:
    errcontext("line %d of configuration file \"%s\"",               stp->lineno,               stp->filename);

if only to save translation effort.

Also, in the last example, don't include the line number in the
errmsg.  Otherwise it looks ok to me.
        regards, tom lane


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: Parsing of pg_hba.conf and authentication inconsistencies
Следующее
От: "Florian G. Pflug"
Дата:
Сообщение: Re: Transaction Snapshots and Hot Standby