We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 591128f commit e998901Copy full SHA for e998901
src/include/storage/proc.h
@@ -313,19 +313,6 @@ struct PGPROC
313
314
extern PGDLLIMPORT PGPROC *MyProc;
315
316
-/* Proc number of this backend. Equal to GetNumberFromPGProc(MyProc). */
317
-extern PGDLLIMPORT ProcNumber MyProcNumber;
318
-
319
-/* Our parallel session leader, or INVALID_PROC_NUMBER if none */
320
-extern PGDLLIMPORT ProcNumber ParallelLeaderProcNumber;
321
322
-/*
323
- * The proc number to use for our session's temp relations is normally our own,
324
- * but parallel workers should use their leader's ID.
325
- */
326
-#define ProcNumberForTempRelations() \
327
- (ParallelLeaderProcNumber == INVALID_PROC_NUMBER ? MyProcNumber : ParallelLeaderProcNumber)
328
329
/*
330
* There is one ProcGlobal struct for the whole database cluster.
331
*
0 commit comments