Magnus Hagander <mag...@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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers