PostgreSQL Source Code  git master
ParallelContext Struct Reference

#include <parallel.h>

Data Fields

dlist_node node
 
SubTransactionId subid
 
int nworkers
 
int nworkers_launched
 
char * library_name
 
char * function_name
 
ErrorContextCallbackerror_context_stack
 
shm_toc_estimator estimator
 
dsm_segmentseg
 
void * private_memory
 
shm_toctoc
 
ParallelWorkerInfoworker
 
int nknown_attached_workers
 
boolknown_attached_workers
 

Detailed Description

Definition at line 32 of file parallel.h.

Field Documentation

◆ error_context_stack

ErrorContextCallback* ParallelContext::error_context_stack

Definition at line 40 of file parallel.h.

Referenced by CreateParallelContext(), and HandleParallelMessage().

◆ estimator

◆ function_name

char* ParallelContext::function_name

Definition at line 39 of file parallel.h.

Referenced by CreateParallelContext(), DestroyParallelContext(), and InitializeParallelDSM().

◆ known_attached_workers

bool* ParallelContext::known_attached_workers

◆ library_name

char* ParallelContext::library_name

Definition at line 38 of file parallel.h.

Referenced by CreateParallelContext(), DestroyParallelContext(), and InitializeParallelDSM().

◆ nknown_attached_workers

int ParallelContext::nknown_attached_workers

◆ node

dlist_node ParallelContext::node

Definition at line 34 of file parallel.h.

Referenced by CreateParallelContext(), and DestroyParallelContext().

◆ nworkers

◆ nworkers_launched

◆ private_memory

void* ParallelContext::private_memory

Definition at line 43 of file parallel.h.

Referenced by DestroyParallelContext(), and InitializeParallelDSM().

◆ seg

◆ subid

SubTransactionId ParallelContext::subid

Definition at line 35 of file parallel.h.

Referenced by AtEOSubXact_Parallel(), and CreateParallelContext().

◆ toc

◆ worker


The documentation for this struct was generated from the following file: