Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5cbe935

Browse files
committed
docs: Clarify flag dependencies for background workers.
BGWORKER_BACKEND_DATABASE_CONNECTION can only be used ifBGWORKER_SHMEM_ACCESS is also used.Michael Paquier, with some tweaks by me.
1 parent0d17956 commit5cbe935

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)

[8]ページ先頭

©2009-2025 Movatter.jp