mirror of
https://github.com/postgres/postgres.git
synced 2025-09-02 04:21:28 +03:00
Code review for NOWAIT patch: downgrade NOWAIT from fully reserved keyword
to unreserved keyword, use ereport not elog, assign a separate error code for 'could not obtain lock' so that applications will be able to detect that case cleanly.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
*
|
||||
* Copyright (c) 2003, PostgreSQL Global Development Group
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/pl/plpgsql/src/plerrcodes.h,v 1.4 2004/08/29 05:07:01 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/pl/plpgsql/src/plerrcodes.h,v 1.5 2004/10/01 16:40:05 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -659,6 +659,10 @@
|
||||
"cant_change_runtime_param", ERRCODE_CANT_CHANGE_RUNTIME_PARAM
|
||||
},
|
||||
|
||||
{
|
||||
"lock_not_available", ERRCODE_LOCK_NOT_AVAILABLE
|
||||
},
|
||||
|
||||
{
|
||||
"operator_intervention", ERRCODE_OPERATOR_INTERVENTION
|
||||
},
|
||||
|
Reference in New Issue
Block a user