mirror of
https://github.com/postgres/postgres.git
synced 2025-11-26 23:43:30 +03:00
Remove PROC_IN_ANALYZE and derived flags
These flags are unused and always have been. Discussion: https://postgr.es/m/20200805235549.GA8118@alvherre.pgsql
This commit is contained in:
@@ -52,7 +52,6 @@ struct XidCache
|
||||
*/
|
||||
#define PROC_IS_AUTOVACUUM 0x01 /* is it an autovac worker? */
|
||||
#define PROC_IN_VACUUM 0x02 /* currently running lazy vacuum */
|
||||
#define PROC_IN_ANALYZE 0x04 /* currently running analyze */
|
||||
#define PROC_VACUUM_FOR_WRAPAROUND 0x08 /* set by autovac only */
|
||||
#define PROC_IN_LOGICAL_DECODING 0x10 /* currently doing logical
|
||||
* decoding outside xact */
|
||||
@@ -60,7 +59,7 @@ struct XidCache
|
||||
|
||||
/* flags reset at EOXact */
|
||||
#define PROC_VACUUM_STATE_MASK \
|
||||
(PROC_IN_VACUUM | PROC_IN_ANALYZE | PROC_VACUUM_FOR_WRAPAROUND)
|
||||
(PROC_IN_VACUUM | PROC_VACUUM_FOR_WRAPAROUND)
|
||||
|
||||
/*
|
||||
* We allow a small number of "weak" relation locks (AccessShareLock,
|
||||
|
||||
Reference in New Issue
Block a user