aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/include/storage/proc.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/include/storage/proc.h b/src/include/storage/proc.h
index cb81e11380d..20777f7d5ae 100644
--- a/src/include/storage/proc.h
+++ b/src/include/storage/proc.h
@@ -317,19 +317,6 @@ struct PGPROC
extern PGDLLIMPORT PGPROC *MyProc;
-/* Proc number of this backend. Equal to GetNumberFromPGProc(MyProc). */
-extern PGDLLIMPORT ProcNumber MyProcNumber;
-
-/* Our parallel session leader, or INVALID_PROC_NUMBER if none */
-extern PGDLLIMPORT ProcNumber ParallelLeaderProcNumber;
-
-/*
- * The proc number to use for our session's temp relations is normally our own,
- * but parallel workers should use their leader's ID.
- */
-#define ProcNumberForTempRelations() \
- (ParallelLeaderProcNumber == INVALID_PROC_NUMBER ? MyProcNumber : ParallelLeaderProcNumber)
-
/*
* There is one ProcGlobal struct for the whole database cluster.
*