diff options
| author | Robert Haas | 2013-08-16 19:14:54 +0000 |
|---|---|---|
| committer | Robert Haas | 2013-08-16 19:31:28 +0000 |
| commit | 2dee7998f93062e2ae7fcc9048ff170e528d1724 (patch) | |
| tree | 59a151ddc975edb3167d32a97239503192ea728b /src/include/postmaster | |
| parent | ac76ec27b933a4f0e1c6840ab1aaef770ed14395 (diff) | |
Move more bgworker code to bgworker.c; also, some renaming.
Per discussion on pgsql-hackers.
Michael Paquier, slightly modified by me. Original suggestion
from Amit Kapila.
Diffstat (limited to 'src/include/postmaster')
| -rw-r--r-- | src/include/postmaster/bgworker_internals.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/postmaster/bgworker_internals.h b/src/include/postmaster/bgworker_internals.h index 0c4c8c325d..3b53027fd4 100644 --- a/src/include/postmaster/bgworker_internals.h +++ b/src/include/postmaster/bgworker_internals.h @@ -41,6 +41,9 @@ extern void BackgroundWorkerShmemInit(void); extern void BackgroundWorkerStateChange(void); extern void ForgetBackgroundWorker(slist_mutable_iter *cur); +/* Function to start a background worker, called from postmaster.c */ +extern void StartBackgroundWorker(void); + #ifdef EXEC_BACKEND extern BackgroundWorker *BackgroundWorkerEntry(int slotno); #endif |
