Re: Adding error message "source"

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Subject: Re: Adding error message "source"
Date: 2009-08-10 15:46:19
Message-ID: 200908101546.n7AFkJZ22339@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Magnus Hagander wrote:
> On Thu, Aug 6, 2009 at 19:04, Peter Eisentraut<peter_e(at)gmx(dot)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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2009-08-10 15:59:28 Re: machine-readable explain output v4
Previous Message Bruce Momjian 2009-08-10 15:43:26 Re: Shipping documentation untarred