Re: Adding error message "source"

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Adding error message "source"
Дата
Msg-id 9592.1249481040@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Adding error message "source"  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> I'd like to add another field to messages called "source" (not wedded
> to the name). Initially, this could just be "user" and "internal", but
> I can see a use-case in the future for it to differ between for
> example "archiver" and "bgwriter" (it's certainly not unheard of that
> one would want to look at all output from the archiver, but ignore all
> other output).

I think you'd have great difficulty making this work reliably ---
there are lots of messages that could be emitted in multiple contexts.
Just about all of bufmgr.c, for instance.
        regards, tom lane


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

Предыдущее
От: Michael Meskes
Дата:
Сообщение: Re: ECPG support for struct in INTO list
Следующее
От: Robert Haas
Дата:
Сообщение: Re: status of ECPG patches?