PostgreSQL Source Code  git master
backendid.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define InvalidBackendId   (-1)
 
#define BackendIdForTempRelations()    (ParallelLeaderBackendId == InvalidBackendId ? MyBackendId : ParallelLeaderBackendId)
 

Typedefs

typedef int BackendId
 

Variables

PGDLLIMPORT BackendId MyBackendId
 
PGDLLIMPORT BackendId ParallelLeaderBackendId
 

Macro Definition Documentation

◆ BackendIdForTempRelations

#define BackendIdForTempRelations ( )     (ParallelLeaderBackendId == InvalidBackendId ? MyBackendId : ParallelLeaderBackendId)

Definition at line 34 of file backendid.h.

◆ InvalidBackendId

#define InvalidBackendId   (-1)

Definition at line 23 of file backendid.h.

Typedef Documentation

◆ BackendId

typedef int BackendId

Definition at line 21 of file backendid.h.

Variable Documentation

◆ MyBackendId

◆ ParallelLeaderBackendId

PGDLLIMPORT BackendId ParallelLeaderBackendId
extern

Definition at line 87 of file globals.c.

Referenced by ParallelWorkerMain(), and ParallelWorkerShutdown().