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.