On Thursday 06 August 2009 17:33:40 Tom Lane wrote:
> I don't think there'd be much logical difficulty in having an output
> field (ie, CSV column or log_line_prefix escape) that represents a
> classification of the PID, say as "postmaster, backend, AV worker,
> AV launcher, bgwriter, ...". It would only require changing things
> in one place, whereas your original proposal seemed mighty open-ended.
You might be able to achieve that if you use the %q escape and put something
after the %q that you can search for.