>>> That doesn't sound right to me. I'd have thought something in class 40.
>> What about:
>> 40004 CONFLICT WITH RECOVERY conflict_with_recovery
> We should respect the following convention, from errcodes.h:
> * The convention is that new error codes defined by PostgreSQL in a
> * class defined by the standard have a subclass value that begins
> * with 'P'. In addition, error codes defined by PostgreSQL clients
> * (such as ecpg) have a class value that begins with 'Y'.
> And don't forget there are three places where the new error code would
> need to be added.
> Otherwise, +1.
Ok. Here is the patch for this. I use 40P02, instead of 40004.
SRA OSS, Inc. Japan
In response to
pgsql-hackers by date
|Next:||From: Fujii Masao||Date: 2011-01-13 07:24:31|
|Subject: Change pg_last_xlog_receive_location not to move backwards|
|Previous:||From: Alex Hunsaker||Date: 2011-01-13 07:06:33|
|Subject: Re: arrays as pl/perl input arguments [PATCH]|