PostgreSQL Source Code  git master
ParallelSlot Struct Reference

#include <scripts_parallel.h>

Data Fields

T_WorkerStatus workerStatus
 
ParallelCompletionPtr callback
 
void * callback_data
 
ArchiveHandleAH
 
int pipeRead
 
int pipeWrite
 
int pipeRevRead
 
int pipeRevWrite
 
pid_t pid
 
PGconnconnection
 
bool isFree
 

Detailed Description

Definition at line 90 of file parallel.c.

Field Documentation

◆ AH

◆ callback

ParallelCompletionPtr ParallelSlot::callback

Definition at line 95 of file parallel.c.

Referenced by DispatchJobForTocEntry(), ListenToWorkers(), and ParallelBackupStart().

◆ callback_data

void* ParallelSlot::callback_data

Definition at line 96 of file parallel.c.

Referenced by DispatchJobForTocEntry(), ListenToWorkers(), and ParallelBackupStart().

◆ connection

PGconn* ParallelSlot::connection

◆ isFree

bool ParallelSlot::isFree

Definition at line 21 of file scripts_parallel.h.

Referenced by init_slot(), and ParallelSlotsGetIdle().

◆ pid

pid_t ParallelSlot::pid

◆ pipeRead

int ParallelSlot::pipeRead

Definition at line 100 of file parallel.c.

Referenced by getMessageFromWorker(), ParallelBackupEnd(), and ParallelBackupStart().

◆ pipeRevRead

int ParallelSlot::pipeRevRead

Definition at line 102 of file parallel.c.

Referenced by archive_close_connection(), ParallelBackupStart(), and RunWorker().

◆ pipeRevWrite

int ParallelSlot::pipeRevWrite

Definition at line 103 of file parallel.c.

Referenced by archive_close_connection(), ParallelBackupStart(), and RunWorker().

◆ pipeWrite

int ParallelSlot::pipeWrite

◆ workerStatus


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