Re: Adding error message "source" - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Adding error message "source"
Date
Msg-id 200908101546.n7AFkJZ22339@momjian.us
Whole thread Raw
In response to Re: Adding error message "source"  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
Magnus Hagander wrote:
> On Thu, Aug 6, 2009 at 19:04, Peter Eisentraut<peter_e@gmx.net> wrote:
> > 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.
> 
> You could do part of it, but you could still not differ them from each
> other. And really, it seems very much like a kludge to me. I'd rather
> have a "proper field" for it.

Is this a TODO?

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Shipping documentation untarred
Next
From: Robert Haas
Date:
Subject: Re: machine-readable explain output v4