Skip to content

Commit 4655b60

Browse files
committed
doc: Add missing words to bgworker docs.
Maciek Sakrejda
1 parent 0f1ef79 commit 4655b60

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/src/sgml/bgworker.sgml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
<para>
3333
Background workers can be initialized at the time that
34-
<productname>PostgreSQL</> is started including the module name in
34+
<productname>PostgreSQL</> is started by including the module name in
3535
<varname>shared_preload_libraries</>. A module wishing to run a background
3636
worker can register it by calling
3737
<function>RegisterBackgroundWorker(<type>BackgroundWorker *worker</type>)</function>
@@ -179,10 +179,10 @@ typedef struct BackgroundWorker
179179
When a background worker is registered using the
180180
<function>RegisterDynamicBackgroundWorker</function> function, it is
181181
possible for the backend performing the registration to obtain information
182-
the status of the worker. Backends wishing to do this should pass the
183-
address of a <type>BackgroundWorkerHandle *</type> as the second argument
184-
to <function>RegisterDynamicBackgroundWorker</function>. If the worker
185-
is successfully registered, this pointer will be initialized with an
182+
regarding the status of the worker. Backends wishing to do this should
183+
pass the address of a <type>BackgroundWorkerHandle *</type> as the second
184+
argument to <function>RegisterDynamicBackgroundWorker</function>. If the
185+
worker is successfully registered, this pointer will be initialized with an
186186
opaque handle that can subsequently be passed to
187187
<function>GetBackgroundWorkerPid(<parameter>BackgroundWorkerHandle *</parameter>, <parameter>pid_t *</parameter>)</function>.
188188
This function can be used to poll the status of the worker: a return

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy