Re: errmsg("... because ...")

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
Cc: Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: errmsg("... because ...")
Date: 2004-12-11 17:32:36
Message-ID: 17108.1102786356@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2004-12-11 17:36:30 Checkpoint bugs?
Previous Message Simon Riggs 2004-12-11 17:29:36 BufferSync and bgwriter