aboutsummaryrefslogtreecommitdiff
path: root/src/include/storage/procarray.h
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2020-08-07 17:24:40 -0400
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2020-08-07 17:24:40 -0400
commitcea3d55898655582e3a3835a7bed2c3a1b002fef (patch)
tree5d16a3424bc1434e1f54a69206a2d3e4f7d29b50 /src/include/storage/procarray.h
parent6f0b632f083ba08fabb6c496caf733802cee9d2e (diff)
downloadpostgresql-cea3d55898655582e3a3835a7bed2c3a1b002fef.tar.gz
postgresql-cea3d55898655582e3a3835a7bed2c3a1b002fef.zip
Remove PROC_IN_ANALYZE and derived flags
These flags are unused and always have been. Discussion: https://postgr.es/m/20200805235549.GA8118@alvherre.pgsql
Diffstat (limited to 'src/include/storage/procarray.h')
-rw-r--r--src/include/storage/procarray.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/include/storage/procarray.h b/src/include/storage/procarray.h
index a5c7d0c0644..01040d76e12 100644
--- a/src/include/storage/procarray.h
+++ b/src/include/storage/procarray.h
@@ -29,8 +29,6 @@
*/
#define PROCARRAY_VACUUM_FLAG 0x02 /* currently running lazy
* vacuum */
-#define PROCARRAY_ANALYZE_FLAG 0x04 /* currently running
- * analyze */
#define PROCARRAY_LOGICAL_DECODING_FLAG 0x10 /* currently doing logical
* decoding outside xact */
@@ -42,7 +40,6 @@
* have no corresponding PROC flag equivalent.
*/
#define PROCARRAY_PROC_FLAGS_MASK (PROCARRAY_VACUUM_FLAG | \
- PROCARRAY_ANALYZE_FLAG | \
PROCARRAY_LOGICAL_DECODING_FLAG)
/* Use the following flags as an input "flags" to GetOldestXmin function */
@@ -50,10 +47,6 @@
#define PROCARRAY_FLAGS_DEFAULT PROCARRAY_LOGICAL_DECODING_FLAG
/* Ignore vacuum backends */
#define PROCARRAY_FLAGS_VACUUM PROCARRAY_FLAGS_DEFAULT | PROCARRAY_VACUUM_FLAG
-/* Ignore analyze backends */
-#define PROCARRAY_FLAGS_ANALYZE PROCARRAY_FLAGS_DEFAULT | PROCARRAY_ANALYZE_FLAG
-/* Ignore both vacuum and analyze backends */
-#define PROCARRAY_FLAGS_VACUUM_ANALYZE PROCARRAY_FLAGS_DEFAULT | PROCARRAY_VACUUM_FLAG | PROCARRAY_ANALYZE_FLAG
extern Size ProcArrayShmemSize(void);
extern void CreateSharedProcArray(void);