~ubuntu-branches/ubuntu/oneiric/postgresql-9.1/oneiric-security

« back to all changes in this revision

Viewing changes to doc/src/sgml/ref/pg_dumpall.sgml

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2011-06-14 09:53:29 UTC
  • mto: (6.1.1 sid) (10.1.1 oneiric-proposed) (1.2.1)
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: james.westby@ubuntu.com-20110614095329-71gfhjywyp2c27au
Tags: upstream-9.1~beta2
ImportĀ upstreamĀ versionĀ 9.1~beta2

Show diffs side-by-side

added added

removed removed

Lines of Context:
165
165
     </varlistentry>
166
166
 
167
167
     <varlistentry>
168
 
      <term><option>--lock-wait-timeout=<replaceable class="parameter">timeout</replaceable></option></term>
169
 
      <listitem>
170
 
       <para>
171
 
        Do not wait forever to acquire shared table locks at the beginning of
172
 
        the dump. Instead, fail if unable to lock a table within the specified
173
 
        <replaceable class="parameter">timeout</>. The timeout may be
174
 
        specified in any of the formats accepted by <command>SET
175
 
        statement_timeout</>.  Allowed values vary depending on the server
176
 
        version you are dumping from, but an integer number of milliseconds
177
 
        is accepted by all versions since 7.3.  This option is ignored when
178
 
        dumping from a pre-7.3 server.
179
 
       </para>
180
 
      </listitem>
181
 
     </varlistentry>
182
 
 
183
 
     <varlistentry>
184
 
      <term><option>--no-tablespaces</option></term>
185
 
      <listitem>
186
 
       <para>
187
 
        Do not output commands to create tablespaces nor select tablespaces
188
 
        for objects.
189
 
        With this option, all objects will be created in whichever
190
 
        tablespace is the default during restore.
191
 
       </para>
192
 
      </listitem>
193
 
     </varlistentry>
194
 
 
195
 
     <varlistentry>
196
 
      <term><option>--no-security-label</option></term>
197
 
      <listitem>
198
 
       <para>
199
 
        Do not dump security labels.
200
 
       </para>
201
 
      </listitem>
202
 
     </varlistentry>
203
 
 
204
 
     <varlistentry>
205
 
      <term><option>--no-unlogged-table-data</option></term>
206
 
      <listitem>
207
 
       <para>
208
 
        Do not dump the contents of unlogged tables.  This option has no
209
 
        effect on whether or not the table definitions (schema) are dumped;
210
 
        it only suppresses dumping the table data.
211
 
       </para>
212
 
      </listitem>
213
 
     </varlistentry>
214
 
 
215
 
     <varlistentry>
216
168
      <term><option>-r</option></term>
217
169
      <term><option>--roles-only</option></term>
218
170
      <listitem>
302
254
     </varlistentry>
303
255
 
304
256
     <varlistentry>
305
 
      <term><option>--inserts</option></term>
306
 
      <listitem>
307
 
       <para>
308
 
        Dump data as <command>INSERT</command> commands (rather
309
 
        than <command>COPY</command>).  This will make restoration very slow;
310
 
        it is mainly useful for making dumps that can be loaded into
311
 
        non-<productname>PostgreSQL</productname> databases.  Note that
312
 
        the restore might fail altogether if you have rearranged column order.
313
 
        The <option>--column-inserts</option> option is safer, though even
314
 
        slower.
315
 
       </para>
316
 
      </listitem>
317
 
     </varlistentry>
318
 
 
319
 
     <varlistentry>
320
257
      <term><option>--column-inserts</option></term>
321
258
      <term><option>--attribute-inserts</option></term>
322
259
      <listitem>
364
301
     </varlistentry>
365
302
 
366
303
     <varlistentry>
 
304
      <term><option>--inserts</option></term>
 
305
      <listitem>
 
306
       <para>
 
307
        Dump data as <command>INSERT</command> commands (rather
 
308
        than <command>COPY</command>).  This will make restoration very slow;
 
309
        it is mainly useful for making dumps that can be loaded into
 
310
        non-<productname>PostgreSQL</productname> databases.  Note that
 
311
        the restore might fail altogether if you have rearranged column order.
 
312
        The <option>--column-inserts</option> option is safer, though even
 
313
        slower.
 
314
       </para>
 
315
      </listitem>
 
316
     </varlistentry>
 
317
 
 
318
     <varlistentry>
 
319
      <term><option>--lock-wait-timeout=<replaceable class="parameter">timeout</replaceable></option></term>
 
320
      <listitem>
 
321
       <para>
 
322
        Do not wait forever to acquire shared table locks at the beginning of
 
323
        the dump. Instead, fail if unable to lock a table within the specified
 
324
        <replaceable class="parameter">timeout</>. The timeout may be
 
325
        specified in any of the formats accepted by <command>SET
 
326
        statement_timeout</>.  Allowed values vary depending on the server
 
327
        version you are dumping from, but an integer number of milliseconds
 
328
        is accepted by all versions since 7.3.  This option is ignored when
 
329
        dumping from a pre-7.3 server.
 
330
       </para>
 
331
      </listitem>
 
332
     </varlistentry>
 
333
 
 
334
     <varlistentry>
 
335
      <term><option>--no-security-labels</option></term>
 
336
      <listitem>
 
337
       <para>
 
338
        Do not dump security labels.
 
339
       </para>
 
340
      </listitem>
 
341
     </varlistentry>
 
342
 
 
343
     <varlistentry>
 
344
      <term><option>--no-tablespaces</option></term>
 
345
      <listitem>
 
346
       <para>
 
347
        Do not output commands to create tablespaces nor select tablespaces
 
348
        for objects.
 
349
        With this option, all objects will be created in whichever
 
350
        tablespace is the default during restore.
 
351
       </para>
 
352
      </listitem>
 
353
     </varlistentry>
 
354
 
 
355
     <varlistentry>
 
356
      <term><option>--no-unlogged-table-data</option></term>
 
357
      <listitem>
 
358
       <para>
 
359
        Do not dump the contents of unlogged tables.  This option has no
 
360
        effect on whether or not the table definitions (schema) are dumped;
 
361
        it only suppresses dumping the table data.
 
362
       </para>
 
363
      </listitem>
 
364
     </varlistentry>
 
365
 
 
366
     <varlistentry>
 
367
      <term><option>--quote-all-identifiers</></term>
 
368
      <listitem>
 
369
       <para>
 
370
        Force quoting of all identifiers.  This may be useful when dumping a
 
371
        database for migration to a future version that may have introduced
 
372
        additional keywords.
 
373
       </para>
 
374
      </listitem>
 
375
     </varlistentry>
 
376
 
 
377
     <varlistentry>
367
378
      <term><option>--use-set-session-authorization</></term>
368
379
      <listitem>
369
380
       <para>
377
388
     </varlistentry>
378
389
 
379
390
     <varlistentry>
380
 
      <term><option>--quote-all-identifiers</></term>
381
 
      <listitem>
382
 
       <para>
383
 
        Force quoting of all identifiers.  This may be useful when dumping a
384
 
        database for migration to a future version that may have introduced
385
 
        additional keywords.
386
 
       </para>
387
 
      </listitem>
388
 
     </varlistentry>
389
 
 
390
 
     <varlistentry>
391
391
       <term><option>-?</></term>
392
392
       <term><option>--help</></term>
393
393
       <listitem>