PostgreSQL Source Code
git master
|
#include <parallel_slot.h>
Data Fields | |
T_WorkerStatus | workerStatus |
ParallelCompletionPtr | callback |
void * | callback_data |
ArchiveHandle * | AH |
int | pipeRead |
int | pipeWrite |
int | pipeRevRead |
int | pipeRevWrite |
pid_t | pid |
PGconn * | connection |
bool | inUse |
ParallelSlotResultHandler | handler |
void * | handler_context |
Definition at line 95 of file parallel.c.
ArchiveHandle* ParallelSlot::AH |
Definition at line 103 of file parallel.c.
Referenced by archive_close_connection(), set_cancel_slot_archive(), and ShutdownWorkersHard().
ParallelCompletionPtr ParallelSlot::callback |
Definition at line 100 of file parallel.c.
Referenced by DispatchJobForTocEntry(), and ListenToWorkers().
void* ParallelSlot::callback_data |
Definition at line 101 of file parallel.c.
Referenced by DispatchJobForTocEntry(), and ListenToWorkers().
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().
ParallelSlotResultHandler ParallelSlot::handler |
Definition at line 32 of file parallel_slot.h.
Referenced by ParallelSlotClearHandler(), ParallelSlotSetHandler(), and processQueryResult().
void* ParallelSlot::handler_context |
Definition at line 33 of file parallel_slot.h.
Referenced by ParallelSlotClearHandler(), ParallelSlotSetHandler(), and processQueryResult().
bool ParallelSlot::inUse |
Definition at line 24 of file parallel_slot.h.
pid_t ParallelSlot::pid |
Definition at line 115 of file parallel.c.
Referenced by GetMyPSlot(), ParallelBackupStart(), ShutdownWorkersHard(), sigTermHandler(), and WaitForTerminatingWorkers().
int ParallelSlot::pipeRead |
Definition at line 105 of file parallel.c.
Referenced by getMessageFromWorker(), ParallelBackupEnd(), and ParallelBackupStart().
int ParallelSlot::pipeRevRead |
Definition at line 107 of file parallel.c.
Referenced by archive_close_connection(), ParallelBackupStart(), and RunWorker().
int ParallelSlot::pipeRevWrite |
Definition at line 108 of file parallel.c.
Referenced by archive_close_connection(), ParallelBackupStart(), and RunWorker().
int ParallelSlot::pipeWrite |
Definition at line 106 of file parallel.c.
Referenced by ParallelBackupEnd(), ParallelBackupStart(), sendMessageToWorker(), and ShutdownWorkersHard().
T_WorkerStatus ParallelSlot::workerStatus |
Definition at line 97 of file parallel.c.
Referenced by DispatchJobForTocEntry(), GetIdleWorker(), getMessageFromWorker(), HasEveryWorkerTerminated(), IsEveryWorkerIdle(), ListenToWorkers(), ParallelBackupStart(), and WaitForTerminatingWorkers().