File tree Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Expand file tree Collapse file tree 1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -179,16 +179,15 @@ ________________________________________________________-->
179
179
</para>
180
180
________________________________________________________-->
181
181
<para>
182
- <structfield>bgw_flags</structfield> is a bitwise-or'd bit mask indicating the
183
- capabilities that the module wants. Possible values are:
182
+ <structfield>bgw_flags</structfield> 是一个按位或位掩码,表示模块所需的功能。可能的值有:
184
183
<variablelist>
185
184
186
185
<varlistentry>
187
186
<term><literal>BGWORKER_SHMEM_ACCESS</literal></term>
188
187
<listitem>
189
188
<para>
190
189
<indexterm><primary>BGWORKER_SHMEM_ACCESS</primary></indexterm>
191
- Requests shared memory access. This flag is required.
190
+ 请求共享内存访问。 此标志是必需的。
192
191
</para>
193
192
</listitem>
194
193
</varlistentry>
@@ -198,11 +197,9 @@ ________________________________________________________-->
198
197
<listitem>
199
198
<para>
200
199
<indexterm><primary>BGWORKER_BACKEND_&zwsp;DATABASE_CONNECTION</primary></indexterm>
201
- Requests the ability to establish a database connection through which it
202
- can later run transactions and queries. A background worker using
203
- <literal>BGWORKER_BACKEND_DATABASE_CONNECTION</literal> to connect to a
204
- database must also attach shared memory using
205
- <literal>BGWORKER_SHMEM_ACCESS</literal>, or worker start-up will fail.
200
+ 请求建立数据库连接的能力,以便稍后运行事务和查询。
201
+ 使用<literal>BGWORKER_BACKEND_DATABASE_CONNECTION</literal>连接到数据库的后台工作进程,还必须使用
202
+ <literal>BGWORKER_SHMEM_ACCESS</literal>附加共享内存,否则工作进程启动将失败。
206
203
</para>
207
204
</listitem>
208
205
</varlistentry>
You can’t perform that action at this time.
0 commit comments