Skip to content

Commit 5e68f61

Browse files
committed
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
1 parent b1ef489 commit 5e68f61

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/include/storage/proc.h

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -317,19 +317,6 @@ struct PGPROC
317317

318318
extern PGDLLIMPORT PGPROC *MyProc;
319319

320-
/* Proc number of this backend. Equal to GetNumberFromPGProc(MyProc). */
321-
extern PGDLLIMPORT ProcNumber MyProcNumber;
322-
323-
/* Our parallel session leader, or INVALID_PROC_NUMBER if none */
324-
extern PGDLLIMPORT ProcNumber ParallelLeaderProcNumber;
325-
326-
/*
327-
* The proc number to use for our session's temp relations is normally our own,
328-
* but parallel workers should use their leader's ID.
329-
*/
330-
#define ProcNumberForTempRelations() \
331-
(ParallelLeaderProcNumber == INVALID_PROC_NUMBER ? MyProcNumber : ParallelLeaderProcNumber)
332-
333320
/*
334321
* There is one ProcGlobal struct for the whole database cluster.
335322
*

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy