Thread: pgsql: Remove STATUS_WAITING

pgsql: Remove STATUS_WAITING

From
Peter Eisentraut
Date:
Remove STATUS_WAITING

Add a separate enum for use in the locking APIs, which were the only
user.

Discussion: https://www.postgresql.org/message-id/flat/a6f91ead-0ce4-2a34-062b-7ab9813ea308%402ndquadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/a513f1dfbf2c29a51b0f7cbd5913ce2d2ee452c5

Modified Files
--------------
src/backend/access/transam/twophase.c |  2 +-
src/backend/storage/lmgr/lock.c       |  8 +++---
src/backend/storage/lmgr/proc.c       | 46 +++++++++++++++++------------------
src/include/c.h                       |  1 -
src/include/storage/proc.h            | 13 +++++++---
5 files changed, 38 insertions(+), 32 deletions(-)