Re: errmsg("... because ...") - Mailing list pgsql-hackers

From Tom Lane
Subject Re: errmsg("... because ...")
Date
Msg-id 17108.1102786356@sss.pgh.pa.us
Whole thread Raw
In response to errmsg("... because ...")  (Alvaro Herrera <alvherre@dcc.uchile.cl>)
List pgsql-hackers
Alvaro Herrera <alvherre@dcc.uchile.cl> writes:
> There are a bunch of error messages saying something like
> "cannot foo because bar"

> What do you think of changing those to use errdetail in addition to
> errmsg?

I'm dubious that this is really an improvement...

In any case we are past string freeze for 8.0, so it would be something
to consider for later.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: old-style handler problem
Next
From: Simon Riggs
Date:
Subject: BufferSync and bgwriter