diff options
author | Alvaro Herrera | 2020-08-07 21:24:40 +0000 |
---|---|---|
committer | Alvaro Herrera | 2020-08-07 21:24:40 +0000 |
commit | cea3d55898655582e3a3835a7bed2c3a1b002fef (patch) | |
tree | 5d16a3424bc1434e1f54a69206a2d3e4f7d29b50 /src/include/storage/proc.h | |
parent | 6f0b632f083ba08fabb6c496caf733802cee9d2e (diff) |
Remove PROC_IN_ANALYZE and derived flags
These flags are unused and always have been.
Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/include/storage/proc.h')
-rw-r--r-- | src/include/storage/proc.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/include/storage/proc.h b/src/include/storage/proc.h index b20e2ad4f6a..5ceb2494bae 100644 --- a/src/include/storage/proc.h +++ b/src/include/storage/proc.h @@ -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, |