PostgreSQL Source Code git master
Data Fields
ParallelSlot Struct Reference

#include <parallel_slot.h>

Data Fields

 
 
void *  callback_data
 
 
int  pipeRead
 
int  pipeWrite
 
int  pipeRevRead
 
int  pipeRevWrite
 
pid_t  pid
 
 
bool  inUse
 
 
void *  handler_context
 

Detailed Description

Definition at line 95 of file parallel.c.

Field Documentation

AH

ArchiveHandle* ParallelSlot::AH

Definition at line 103 of file parallel.c.

Referenced by archive_close_connection(), set_cancel_slot_archive(), and ShutdownWorkersHard().

callback

ParallelCompletionPtr ParallelSlot::callback

Definition at line 100 of file parallel.c.

Referenced by DispatchJobForTocEntry(), and ListenToWorkers().

callback_data

void* ParallelSlot::callback_data

Definition at line 101 of file parallel.c.

Referenced by DispatchJobForTocEntry(), and ListenToWorkers().

connection

PGconn* ParallelSlot::connection

Definition at line 23 of file parallel_slot.h.

Referenced by connect_slot(), consumeQueryResult(), main(), processQueryResult(), reindex_one_database(), run_command(), and vacuum_one_database().

handler

ParallelSlotResultHandler ParallelSlot::handler

Definition at line 32 of file parallel_slot.h.

Referenced by ParallelSlotClearHandler(), ParallelSlotSetHandler(), and processQueryResult().

handler_context

void* ParallelSlot::handler_context

Definition at line 33 of file parallel_slot.h.

Referenced by ParallelSlotClearHandler(), ParallelSlotSetHandler(), and processQueryResult().

inUse

bool ParallelSlot::inUse

Definition at line 24 of file parallel_slot.h.

pid

pid_t ParallelSlot::pid

Definition at line 115 of file parallel.c.

Referenced by GetMyPSlot(), ParallelBackupStart(), ShutdownWorkersHard(), sigTermHandler(), and WaitForTerminatingWorkers().

pipeRead

int ParallelSlot::pipeRead

Definition at line 105 of file parallel.c.

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

pipeRevRead

int ParallelSlot::pipeRevRead

Definition at line 107 of file parallel.c.

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

pipeRevWrite

int ParallelSlot::pipeRevWrite

Definition at line 108 of file parallel.c.

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

pipeWrite

int ParallelSlot::pipeWrite

Definition at line 106 of file parallel.c.

Referenced by ParallelBackupEnd(), ParallelBackupStart(), sendMessageToWorker(), and ShutdownWorkersHard().

workerStatus

T_WorkerStatus ParallelSlot::workerStatus

Definition at line 97 of file parallel.c.

Referenced by DispatchJobForTocEntry(), GetIdleWorker(), getMessageFromWorker(), HasEveryWorkerTerminated(), IsEveryWorkerIdle(), ListenToWorkers(), ParallelBackupStart(), and WaitForTerminatingWorkers().


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

AltStyle によって変換されたページ (->オリジナル) /