summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2013-10-04 11:13:50 -0400
committerRobert Haas <rhaas@postgresql.org>2013-10-04 11:13:50 -0400
commit4655b607f34836ae19f262bfdfe95c0be74d920c (patch)
tree8a91e266944df1c5e26f8cca3292e27234b209b1 /doc
parent0f1ef79095762e8e3e908592f0cf37c53da54028 (diff)
downloadpostgresql-4655b607f34836ae19f262bfdfe95c0be74d920c.tar.gz
doc: Add missing words to bgworker docs.
Maciek Sakrejda
Diffstat (limited to 'doc')
-rw-r--r--doc/src/sgml/bgworker.sgml10
1 files changed, 5 insertions, 5 deletions
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 @@
<para>
Background workers can be initialized at the time that
- <productname>PostgreSQL</> is started including the module name in
+ <productname>PostgreSQL</> is started by including the module name in
<varname>shared_preload_libraries</>. A module wishing to run a background
worker can register it by calling
<function>RegisterBackgroundWorker(<type>BackgroundWorker *worker</type>)</function>
@@ -179,10 +179,10 @@ typedef struct BackgroundWorker
When a background worker is registered using the
<function>RegisterDynamicBackgroundWorker</function> 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 <type>BackgroundWorkerHandle *</type> as the second argument
- to <function>RegisterDynamicBackgroundWorker</function>. 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 <type>BackgroundWorkerHandle *</type> as the second
+ argument to <function>RegisterDynamicBackgroundWorker</function>. If the
+ worker is successfully registered, this pointer will be initialized with an
opaque handle that can subsequently be passed to
<function>GetBackgroundWorkerPid(<parameter>BackgroundWorkerHandle *</parameter>, <parameter>pid_t *</parameter>)</function>.
This function can be used to poll the status of the worker: a return