We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d17956 commit 5cbe935Copy full SHA for 5cbe935
doc/src/sgml/bgworker.sgml
@@ -64,7 +64,10 @@ typedef struct BackgroundWorker
64
<literal>BGWORKER_SHMEM_ACCESS</literal> (requesting shared memory access)
65
and <literal>BGWORKER_BACKEND_DATABASE_CONNECTION</literal> (requesting the
66
ability to establish a database connection, through which it can later run
67
- transactions and queries).
+ 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.
71
</para>
72
73
<para>
0 commit comments