mirror of
https://github.com/postgres/postgres.git
synced 2025-04-25 21:42:33 +03:00
Remove duplicate definitions in proc.h
These are also present in procnumber.h Reported-by: Peter Eisentraut Discussion: https://www.postgresql.org/message-id/bd04d675-4672-4f87-800a-eb5d470c15fc@eisentraut.org
This commit is contained in:
parent
b1ef48980d
commit
5e68f61192
@ -317,19 +317,6 @@ struct PGPROC
|
|||||||
|
|
||||||
extern PGDLLIMPORT PGPROC *MyProc;
|
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.
|
* There is one ProcGlobal struct for the whole database cluster.
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user