summaryrefslogtreecommitdiff
path: root/src/include/executor/hashjoin.h
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2021-03-18 01:06:01 +1300
committerThomas Munro <tmunro@postgresql.org>2021-03-18 01:06:01 +1300
commitb9ed85698f3e101bc84eb9b1adf77f5d04ebe7eb (patch)
tree66e93674074974ba7132b0bcd46494424a79217e /src/include/executor/hashjoin.h
parent8fa2478b407ef867d501fafcdea45fd827f70799 (diff)
Revert "Fix race in Parallel Hash Join batch cleanup."
This reverts commit 8fa2478b407ef867d501fafcdea45fd827f70799. Discussion: https://postgr.es/m/CA%2BhUKGJmcqAE3MZeDCLLXa62cWM0AJbKmp2JrJYaJ86bz36LFA%40mail.gmail.com
Diffstat (limited to 'src/include/executor/hashjoin.h')
-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 b3deff6854e..2c94b926d37 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