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()   (ParallelMasterBackendId == InvalidBackendId ? MyBackendId : ParallelMasterBackendId)
 

Typedefs

typedef int BackendId
 

Variables

PGDLLIMPORT BackendId MyBackendId
 
PGDLLIMPORT BackendId ParallelMasterBackendId
 

Macro Definition Documentation

◆ BackendIdForTempRelations

◆ InvalidBackendId

Typedef Documentation

◆ BackendId

Definition at line 21 of file backendid.h.

Variable Documentation

◆ MyBackendId

◆ ParallelMasterBackendId

PGDLLIMPORT BackendId ParallelMasterBackendId

Definition at line 75 of file globals.c.

Referenced by ParallelWorkerMain().