diff options
author | Robert Haas <rhaas@postgresql.org> | 2013-07-04 11:11:56 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2013-07-04 11:15:01 -0400 |
commit | cdaf7bde971b592839cbc3794ead1740d1a2125a (patch) | |
tree | 5e795e7eca6b39b85166f0b77e4fe5e431b25a73 | |
parent | f960fae017635a8c212ccd2168f091ea73564150 (diff) |
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.
-rw-r--r-- | doc/src/sgml/bgworker.sgml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/src/sgml/bgworker.sgml b/doc/src/sgml/bgworker.sgml index 1151161a848..b0dde7564d8 100644 --- a/doc/src/sgml/bgworker.sgml +++ b/doc/src/sgml/bgworker.sgml @@ -64,7 +64,10 @@ typedef struct BackgroundWorker <literal>BGWORKER_SHMEM_ACCESS</literal> (requesting shared memory access) and <literal>BGWORKER_BACKEND_DATABASE_CONNECTION</literal> (requesting the 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> |