Re: SSI error messages - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: SSI error messages
Date
Msg-id 1313411266.9614.22.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: SSI error messages  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
On lör, 2011-07-16 at 21:55 +0300, Heikki Linnakangas wrote:
> I think I would prefer something like this:
> 
> ERROR:  could not serialize access due to read/write dependencies
> among 
> transactions
> DETAIL: Reason code: %s
> HINT:  The transaction might succeed if retried. 

I've done it this way now, except that "Reason code" is not marked for
translation, for the implementation reasons discussed downthread.

I'm looking forward to see how many of these we'll see in practice and
how users will react to them.



pgsql-hackers by date:

Previous
From: Joachim Wieland
Date:
Subject: Re: synchronized snapshots
Next
From: Robert Haas
Date:
Subject: Re: synchronized snapshots