mirror of
https://github.com/postgres/postgres.git
synced 2025-05-29 00:03:09 -04:00
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.
This commit is contained in:
parent
0d1795680d
commit
5cbe935c9d
@ -64,7 +64,10 @@ typedef struct BackgroundWorker
|
|||||||
<literal>BGWORKER_SHMEM_ACCESS</literal> (requesting shared memory access)
|
<literal>BGWORKER_SHMEM_ACCESS</literal> (requesting shared memory access)
|
||||||
and <literal>BGWORKER_BACKEND_DATABASE_CONNECTION</literal> (requesting the
|
and <literal>BGWORKER_BACKEND_DATABASE_CONNECTION</literal> (requesting the
|
||||||
ability to establish a database connection, through which it can later run
|
ability to establish a database connection, through which it can later run
|
||||||
transactions and queries).
|
transactions and queries). A background worker using
|
||||||
|
<literal>BGWORKER_BACKEND_DATABASE_CONNECTION</literal> to connect to
|
||||||
|
a database must also attach shared memory using
|
||||||
|
<literal>BGWORKER_SHMEM_ACCESS</literal>, or worker start-up will fail.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user