Skip to content

Commit ab0bad9

Browse files
author
chegong18
committed
Update vacuumlo.sgml-200704
——row105至106,调英为: <term><option>-l <replaceable class="parameter">limit</replaceable></option></term> <term><option>--limit=<replaceable class="parameter">limit</replaceable></option></term> ——row162至163,调翻为: <term><option>-l <replaceable class="parameter">limit</replaceable></option></term> <term><option>--limit=<replaceable class="parameter">limit</replaceable></option></term> ——row120,增英为: <term><option>--dry-run</option></term> ——row173,增翻为: <term><option>--dry-run</option></term> ——row128,增英为: <term><option>--verbose</option></term> ——row181,增翻为: <term><option>--verbose</option></term> ——row216至217,调英为: <term><option>-h <replaceable class="parameter">host</replaceable></option></term> <term><option>--host=<replaceable class="parameter">host</replaceable></option></term> ——row281至282,调翻为: <term><option>-h <replaceable class="parameter">host</replaceable></option></term> <term><option>--host=<replaceable class="parameter">host</replaceable></option></term> ——row224至225,调英为: <term><option>-p <replaceable>port</replaceable></option></term> <term><option>--port=<replaceable class="parameter">port</replaceable></option></term> ——row289至290,调翻为: <term><option>-p <replaceable>port</replaceable></option></term> <term><option>--port=<replaceable class="parameter">port</replaceable></option></term> ——row232至233,调英为: <term><option>-U <replaceable>username</replaceable></option></term> <term><option>--username=<replaceable class="parameter">username</replaceable></option></term> ——row297至298,调翻为: <term><option>-U <replaceable>username</replaceable></option></term> <term><option>--username=<replaceable class="parameter">username</replaceable></option></term> ——row255,增英为: <term><option>--password</option></term> ——row316,增翻为: <term><option>--password</option></term> ——row331至375,增英和翻为: <refsect1> <!--==========================orignal english content========================== <title>Environment</title> ____________________________________________________________________________--> <title>环境</title> <variablelist> <varlistentry> <!--==========================orignal english content========================== <term><envar>PGHOST</envar></term> ____________________________________________________________________________--> <term><envar>PGHOST</envar></term> <!--==========================orignal english content========================== <term><envar>PGPORT</envar></term> ____________________________________________________________________________--> <term><envar>PGPORT</envar></term> <!--==========================orignal english content========================== <term><envar>PGUSER</envar></term> ____________________________________________________________________________--> <term><envar>PGUSER</envar></term> <listitem> <!--==========================orignal english content========================== <para> Default connection parameters. </para> ____________________________________________________________________________--> <para> 默认连接参数。 </para> </listitem> </varlistentry> </variablelist> <!--==========================orignal english content========================== <para> This utility, like most other <productname>PostgreSQL</productname> utilities, also uses the environment variables supported by <application>libpq</application> (see <xref linkend="libpq-envars"/>). </para> ____________________________________________________________________________--> <para> 这个实用程序,像其他大多数<productname>PostgreSQL</productname>实用程序,也还使用 <application>libpq</application> 支持的环境变量(参见 <xref linkend="libpq-envars"/>)。 </para> </refsect1>
1 parent a891e68 commit ab0bad9

File tree

1 file changed

+69
-9
lines changed

1 file changed

+69
-9
lines changed

postgresql/doc/src/sgml/vacuumlo.sgml

Lines changed: 69 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ____________________________________________________________________________-->
99
<indexterm zone="vacuumlo">
1010
<primary>vacuumlo</primary>
1111
</indexterm>
12-
12+
1313
<!--==========================orignal english content==========================
1414
<refmeta>
1515
<refentrytitle><application>vacuumlo</application></refentrytitle>
@@ -102,7 +102,8 @@ ____________________________________________________________________________-->
102102

103103
<variablelist>
104104
<varlistentry>
105-
<term><option>-l</option> <replaceable>limit</replaceable></term>
105+
<term><option>-l <replaceable class="parameter">limit</replaceable></option></term>
106+
<term><option>--limit=<replaceable class="parameter">limit</replaceable></option></term>
106107
<listitem>
107108
<para>
108109
Remove no more than <replaceable>limit</replaceable> large objects per
@@ -116,13 +117,15 @@ ____________________________________________________________________________-->
116117

117118
<varlistentry>
118119
<term><option>-n</option></term>
120+
<term><option>--dry-run</option></term>
119121
<listitem>
120122
<para>Don't remove anything, just show what would be done.</para>
121123
</listitem>
122124
</varlistentry>
123125

124126
<varlistentry>
125127
<term><option>-v</option></term>
128+
<term><option>--verbose</option></term>
126129
<listitem>
127130
<para>Write a lot of progress messages.</para>
128131
</listitem>
@@ -156,7 +159,8 @@ ____________________________________________________________________________-->
156159

157160
<variablelist>
158161
<varlistentry>
159-
<term><option>-l</option> <replaceable>limit</replaceable></term>
162+
<term><option>-l <replaceable class="parameter">limit</replaceable></option></term>
163+
<term><option>--limit=<replaceable class="parameter">limit</replaceable></option></term>
160164
<listitem>
161165
<para>
162166
在每一个事务中移除不超过<replaceable>limit</replaceable>个大对象(默认值为1000)。因为移除每一个LO时服务器都将要求一个锁,所以在一个事务中移除过多的LO会有超过<xref linkend="guc-max-locks-per-transaction"/>的风险。如果你想在一个事务中就完成所有的移除工作,请将这个限制设置为0。
@@ -166,13 +170,15 @@ ____________________________________________________________________________-->
166170

167171
<varlistentry>
168172
<term><option>-n</option></term>
173+
<term><option>--dry-run</option></term>
169174
<listitem>
170175
<para>不移除任何东西,只是显示将会做什么。</para>
171176
</listitem>
172177
</varlistentry>
173178

174179
<varlistentry>
175180
<term><option>-v</option></term>
181+
<term><option>--verbose</option></term>
176182
<listitem>
177183
<para>写一些进度消息。</para>
178184
</listitem>
@@ -207,21 +213,24 @@ ____________________________________________________________________________-->
207213

208214
<variablelist>
209215
<varlistentry>
210-
<term><option>-h</option> <replaceable>hostname</replaceable></term>
216+
<term><option>-h <replaceable class="parameter">host</replaceable></option></term>
217+
<term><option>--host=<replaceable class="parameter">host</replaceable></option></term>
211218
<listitem>
212219
<para>Database server's host.</para>
213220
</listitem>
214221
</varlistentry>
215222

216223
<varlistentry>
217-
<term><option>-p</option> <replaceable>port</replaceable></term>
224+
<term><option>-p <replaceable>port</replaceable></option></term>
225+
<term><option>--port=<replaceable class="parameter">port</replaceable></option></term>
218226
<listitem>
219227
<para>Database server's port.</para>
220228
</listitem>
221229
</varlistentry>
222230

223231
<varlistentry>
224-
<term><option>-U</option> <replaceable>username</replaceable></term>
232+
<term><option>-U <replaceable>username</replaceable></option></term>
233+
<term><option>--username=<replaceable class="parameter">username</replaceable></option></term>
225234
<listitem>
226235
<para>User name to connect as.</para>
227236
</listitem>
@@ -243,6 +252,7 @@ ____________________________________________________________________________-->
243252

244253
<varlistentry>
245254
<term><option>-W</option></term>
255+
<term><option>--password</option></term>
246256
<listitem>
247257
<para>
248258
Force <application>vacuumlo</application> to prompt for a
@@ -268,21 +278,24 @@ ____________________________________________________________________________-->
268278

269279
<variablelist>
270280
<varlistentry>
271-
<term><option>-h</option> <replaceable>hostname</replaceable></term>
281+
<term><option>-h <replaceable class="parameter">host</replaceable></option></term>
282+
<term><option>--host=<replaceable class="parameter">host</replaceable></option></term>
272283
<listitem>
273284
<para>数据库服务器的主机名。</para>
274285
</listitem>
275286
</varlistentry>
276287

277288
<varlistentry>
278-
<term><option>-p</option> <replaceable>port</replaceable></term>
289+
<term><option>-p <replaceable>port</replaceable></option></term>
290+
<term><option>--port=<replaceable class="parameter">port</replaceable></option></term>
279291
<listitem>
280292
<para>数据库服务器的端口。</para>
281293
</listitem>
282294
</varlistentry>
283295

284296
<varlistentry>
285-
<term><option>-U</option> <replaceable>username</replaceable></term>
297+
<term><option>-U <replaceable>username</replaceable></option></term>
298+
<term><option>--username=<replaceable class="parameter">username</replaceable></option></term>
286299
<listitem>
287300
<para>用于连接的用户名。</para>
288301
</listitem>
@@ -300,6 +313,7 @@ ____________________________________________________________________________-->
300313

301314
<varlistentry>
302315
<term><option>-W</option></term>
316+
<term><option>--password</option></term>
303317
<listitem>
304318
<para>
305319
强制<application>vacuumlo</application>在连接到数据库之前提示要求一个口令。
@@ -314,6 +328,52 @@ ____________________________________________________________________________-->
314328
</para>
315329
</refsect1>
316330

331+
<refsect1>
332+
<!--==========================orignal english content==========================
333+
<title>Environment</title>
334+
____________________________________________________________________________-->
335+
<title>环境</title>
336+
337+
<variablelist>
338+
<varlistentry>
339+
<!--==========================orignal english content==========================
340+
<term><envar>PGHOST</envar></term>
341+
____________________________________________________________________________-->
342+
<term><envar>PGHOST</envar></term>
343+
<!--==========================orignal english content==========================
344+
<term><envar>PGPORT</envar></term>
345+
____________________________________________________________________________-->
346+
<term><envar>PGPORT</envar></term>
347+
<!--==========================orignal english content==========================
348+
<term><envar>PGUSER</envar></term>
349+
____________________________________________________________________________-->
350+
<term><envar>PGUSER</envar></term>
351+
352+
<listitem>
353+
<!--==========================orignal english content==========================
354+
<para>
355+
Default connection parameters.
356+
</para>
357+
____________________________________________________________________________-->
358+
<para>
359+
默认连接参数。
360+
</para>
361+
</listitem>
362+
</varlistentry>
363+
</variablelist>
364+
365+
<!--==========================orignal english content==========================
366+
<para>
367+
This utility, like most other <productname>PostgreSQL</productname> utilities,
368+
also uses the environment variables supported by <application>libpq</application>
369+
(see <xref linkend="libpq-envars"/>).
370+
</para>
371+
____________________________________________________________________________-->
372+
<para>
373+
这个实用程序,像其他大多数<productname>PostgreSQL</productname>实用程序,也还使用 <application>libpq</application> 支持的环境变量(参见 <xref linkend="libpq-envars"/>)。
374+
</para>
375+
</refsect1>
376+
317377
<refsect1>
318378
<!--==========================orignal english content==========================
319379
<title>Notes</title>

0 commit comments

Comments
 (0)