Content-Length: 259521 | pFad | http://github.com/postgrespro/postgres/commit/5cbe935c9d6046f5600ff2e083b4bae6ee1f4aa2

25 docs: Clarify flag dependencies for background workers. · postgrespro/postgres@5cbe935 · GitHub
Skip to content

Commit 5cbe935

Browse files
committed
docs: Clarify flag dependencies for background workers.
BGWORKER_BACKEND_DATABASE_CONNECTION can only be used if BGWORKER_SHMEM_ACCESS is also used. Michael Paquier, with some tweaks by me.
1 parent 0d17956 commit 5cbe935

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

doc/src/sgml/bgworker.sgml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,10 @@ typedef struct BackgroundWorker
6464
<literal>BGWORKER_SHMEM_ACCESS</literal> (requesting shared memory access)
6565
and <literal>BGWORKER_BACKEND_DATABASE_CONNECTION</literal> (requesting the
6666
ability to establish a database connection, through which it can later run
67-
transactions and queries).
67+
transactions and queries). A background worker using
68+
<literal>BGWORKER_BACKEND_DATABASE_CONNECTION</literal> to connect to
69+
a database must also attach shared memory using
70+
<literal>BGWORKER_SHMEM_ACCESS</literal>, or worker start-up will fail.
6871
</para>
6972

7073
<para>

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/5cbe935c9d6046f5600ff2e083b4bae6ee1f4aa2

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy