Re: Problem with error response message - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Problem with error response message
Date
Msg-id CA+U5nMJdWPc=mOULf7Wf7GJfAfiPdN7FB8BC1ZU7kJiM+tq8Bg@mail.gmail.com
Whole thread Raw
In response to Problem with error response message  (Tatsuo Ishii <ishii@postgresql.org>)
List pgsql-hackers
On 22 May 2012 12:59, Tatsuo Ishii <ishii@postgresql.org> wrote:

> Also I wonder why "conflict with recovery" generates same error code
> as serialization error. For me it seems not very consistent
> choice. IMO, we should assign different error code for at least brings
> totally different effect to frontend: aborting transactions or
> sessions.

Some conflicts cause ERROR, some cause FATAL. So there is not a
distinct difference.

--
 Simon Riggs                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


pgsql-hackers by date:

Previous
From: Daniel Farina
Date:
Subject: Re: Changing the concept of a DATABASE
Next
From: Josh Berkus
Date:
Subject: Re: Changing the concept of a DATABASE