From: Robert Haas Date: Fri, 4 Oct 2013 15:13:50 +0000 (-0400) Subject: doc: Add missing words to bgworker docs. X-Git-Tag: REL9_4_BETA1~1107 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4655b607f34836ae19f262bfdfe95c0be74d920c;p=postgresql doc: Add missing words to bgworker docs. Maciek Sakrejda --- diff --git a/doc/src/sgml/bgworker.sgml b/doc/src/sgml/bgworker.sgml index 102d46372b..9e6dea98a2 100644 --- a/doc/src/sgml/bgworker.sgml +++ b/doc/src/sgml/bgworker.sgml @@ -31,7 +31,7 @@ Background workers can be initialized at the time that - PostgreSQL is started including the module name in + PostgreSQL is started by including the module name in shared_preload_libraries. A module wishing to run a background worker can register it by calling RegisterBackgroundWorker(BackgroundWorker *worker) @@ -179,10 +179,10 @@ typedef struct BackgroundWorker When a background worker is registered using the RegisterDynamicBackgroundWorker function, it is possible for the backend performing the registration to obtain information - the status of the worker. Backends wishing to do this should pass the - address of a BackgroundWorkerHandle * as the second argument - to RegisterDynamicBackgroundWorker. If the worker - is successfully registered, this pointer will be initialized with an + regarding the status of the worker. Backends wishing to do this should + pass the address of a BackgroundWorkerHandle * as the second + argument to RegisterDynamicBackgroundWorker. If the + worker is successfully registered, this pointer will be initialized with an opaque handle that can subsequently be passed to GetBackgroundWorkerPid(BackgroundWorkerHandle *, pid_t *). This function can be used to poll the status of the worker: a return