Re: archive_command failures report confusing exit status

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: archive_command failures report confusing exit status
Дата
Msg-id 20071210183602.GB27126@alvh.no-ip.org
обсуждение исходный текст
Ответ на archive_command failures report confusing exit status  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: archive_command failures report confusing exit status  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: archive_command failures report confusing exit status  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut wrote:

> I figured it would make sense if pgarch.c used the same mechanism that
> postmaster.c uses to report the various variants of regular and signal
> exits.

Hmm.  Getting rid of the "(PID 0)" is going to be a mess enough for
translations that I think it is worth pgarch.c having its own routine
for this.  Furthermore I think the detailed archive command should be
reported in an errdetail() field, which makes it even farther off.

(Hmm, there is nearly duplicate code in pclose_check already).

-- 
Alvaro Herrera                 http://www.amazon.com/gp/registry/DXLWNGRJD34J
"Nunca confiaré en un traidor.  Ni siquiera si el traidor lo he creado yo"
(Barón Vladimir Harkonnen)


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Problem of a server gettext message.
Следующее
От: "Nikolay Grebnev"
Дата:
Сообщение: Trigger proglem