Skip to content

Commit 3872d52

Browse files
committed
校验 bgworker.sgml 完成
- sig_en=a643f23f8ef6ecd4644e13d51f866556 一处AI未翻译
1 parent f3fdb00 commit 3872d52

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

postgresql/doc/src/sgml/bgworker.sgml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -179,16 +179,15 @@ ________________________________________________________-->
179179
</para>
180180
________________________________________________________-->
181181
<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> 是一个按位或位掩码,表示模块所需的功能。可能的值有:
184183
<variablelist>
185184

186185
<varlistentry>
187186
<term><literal>BGWORKER_SHMEM_ACCESS</literal></term>
188187
<listitem>
189188
<para>
190189
<indexterm><primary>BGWORKER_SHMEM_ACCESS</primary></indexterm>
191-
Requests shared memory access. This flag is required.
190+
请求共享内存访问。 此标志是必需的。
192191
</para>
193192
</listitem>
194193
</varlistentry>
@@ -198,11 +197,9 @@ ________________________________________________________-->
198197
<listitem>
199198
<para>
200199
<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>附加共享内存,否则工作进程启动将失败。
206203
</para>
207204
</listitem>
208205
</varlistentry>

0 commit comments

Comments
 (0)