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.


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


typedef int BackendId


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

Definition at line 88 of file globals.c.

Referenced by ParallelWorkerMain(), and ParallelWorkerShutdown().