Skip site navigation (1) Skip section navigation (2)

Re: pgsql: Improve a number of elog messages for not-supposed-to-happen

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Improve a number of elog messages for not-supposed-to-happen
Date: 2007-12-31 18:20:58
Message-ID: 7605.1199125258@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-committers
Simon Riggs <simon(at)2ndquadrant(dot)com> writes:
> Would it be helpful to do this for duplicate row detection as well?

> It would be great to get the htids of the two duplicates when we do
> detect this situation.

99.999% of the time it would be confusing gibberish :-(.  That's a very
ordinary user-facing error message, remember.

If we had a way to know that a particular occurrence represented a
(seemingly) internal problem rather than run-of-the-mill user error,
then yeah, but I don't see how we'd know that.

			regards, tom lane

In response to

pgsql-committers by date

Next:From: User RlucasDate: 2008-01-01 02:46:55
Subject: aupg - aupg_src: changed the set_current_sw_actor function not to depend
Previous:From: Simon RiggsDate: 2007-12-31 18:10:32
Subject: Re: pgsql: Improve a number of elog messages fornot-supposed-to-happen

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group