doc: clarify use of RegisterDynamicBackgroundWorker
authorBruce Momjian <bruce@momjian.us>
Wed, 24 Jan 2018 18:20:37 +0000 (13:20 -0500)
committerBruce Momjian <bruce@momjian.us>
Wed, 24 Jan 2018 18:20:37 +0000 (13:20 -0500)
Document likely use of RegisterDynamicBackgroundWorker by another
background worker.

Reported-by: Chapman Flack
Discussion: https://postgr.es/m/CAB7nPqTdi=J9HH8PPPiEOohebdd+xkgbbhdY7=VbGnZ3CkZXxA@mail.gmail.com

Author: Chapman Flack

doc/src/sgml/bgworker.sgml

index 4bc2b696b3f6797b6f9fd5b3666f789cc15d302a..e490bb8750e23469290ed6bb61b73d590f75c175 100644 (file)
@@ -41,7 +41,7 @@
   *worker, BackgroundWorkerHandle **handle</type>)</function>.  Unlike
   <function>RegisterBackgroundWorker</function>, which can only be called from within
   the postmaster, <function>RegisterDynamicBackgroundWorker</function> must be
-  called from a regular backend.
+  called from a regular backend, possibly another background worker.
  </para>
 
  <para>