aboutsummaryrefslogtreecommitdiff
path: root/src/include/executor
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2021-03-18 01:00:56 +1300
committerThomas Munro <tmunro@postgresql.org>2021-03-18 01:00:56 +1300
commit69739ec317aef5df0ce9258142b3124b6c58b202 (patch)
tree96393b9d2685f81ca8585951a65c88ec38a623df /src/include/executor
parent4e0f0995e923948631c4114ab353b256b51b58ad (diff)
downloadpostgresql-69739ec317aef5df0ce9258142b3124b6c58b202.tar.gz
postgresql-69739ec317aef5df0ce9258142b3124b6c58b202.zip
Revert "Fix race in Parallel Hash Join batch cleanup."
This reverts commit 4e0f0995e923948631c4114ab353b256b51b58ad. Discussion: https://postgr.es/m/CA%2BhUKGJmcqAE3MZeDCLLXa62cWM0AJbKmp2JrJYaJ86bz36LFA%40mail.gmail.com
Diffstat (limited to 'src/include/executor')
-rw-r--r--src/include/executor/hashjoin.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/include/executor/hashjoin.h b/src/include/executor/hashjoin.h
index 443ba6eb9fd..eb5daba36b0 100644
--- a/src/include/executor/hashjoin.h
+++ b/src/include/executor/hashjoin.h
@@ -258,8 +258,7 @@ typedef struct ParallelHashJoinState
#define PHJ_BUILD_ALLOCATING 1
#define PHJ_BUILD_HASHING_INNER 2
#define PHJ_BUILD_HASHING_OUTER 3
-#define PHJ_BUILD_RUNNING 4
-#define PHJ_BUILD_DONE 5
+#define PHJ_BUILD_DONE 4
/* The phases for probing each batch, used by for batch_barrier. */
#define PHJ_BATCH_ELECTING 0