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

« back to all changes in this revision

Viewing changes to doc/src/sgml/html/app-pgrestore.html

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2011-06-14 09:53:29 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20110614095329-kerawur7tb6p8s71
Tags: 9.1~beta2-1
* New upstream beta release.
* Drop 03-cmsgcred-size.patch, fixed upstream.
* debian/postgresql-9.1.install: Install new pg_basebackup translations.
* debian/control: Fix the server-dev dependency to p-common to also work for
  backports.
* debian/watch: Fix for beta versions.
* debian/copyright: Add pointers to GPL and Artistic licenses for the Perl
  terms.
* debian/postgresql-9.1.preinst: Fail the package upgrade early when
  upgrading from beta-1, as the DB format changed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
REV="MADE"
10
10
HREF="mailto:pgsql-docs@postgresql.org"><LINK
11
11
REL="HOME"
12
 
TITLE="PostgreSQL 9.1beta1 Documentation"
 
12
TITLE="PostgreSQL 9.1beta2 Documentation"
13
13
HREF="index.html"><LINK
14
14
REL="UP"
15
15
TITLE="PostgreSQL Client Applications"
26
26
HTTP-EQUIV="Content-Type"
27
27
CONTENT="text/html; charset=ISO-8859-1"><META
28
28
NAME="creation"
29
 
CONTENT="2011-04-27T21:20:33"></HEAD
 
29
CONTENT="2011-06-09T23:44:43"></HEAD
30
30
><BODY
31
31
CLASS="REFENTRY"
32
32
><DIV
44
44
VALIGN="bottom"
45
45
><A
46
46
HREF="index.html"
47
 
>PostgreSQL 9.1beta1 Documentation</A
 
47
>PostgreSQL 9.1beta2 Documentation</A
48
48
></TH
49
49
></TR
50
50
><TR
104
104
><DIV
105
105
CLASS="REFNAMEDIV"
106
106
><A
107
 
NAME="AEN79458"
 
107
NAME="AEN79479"
108
108
></A
109
109
><H2
110
110
>Name</H2
120
120
><DIV
121
121
CLASS="REFSYNOPSISDIV"
122
122
><A
123
 
NAME="AEN79465"
 
123
NAME="AEN79486"
124
124
></A
125
125
><H2
126
126
>Synopsis</H2
412
412
><DT
413
413
><TT
414
414
CLASS="LITERAL"
415
 
>d</TT
416
 
><BR><TT
417
 
CLASS="LITERAL"
418
 
>directory</TT
419
 
></DT
420
 
><DD
421
 
><P
422
 
>           The archive is a <TT
423
 
CLASS="COMMAND"
424
 
>directory</TT
425
 
> archive.
426
 
          </P
427
 
></DD
428
 
><DT
429
 
><TT
430
 
CLASS="LITERAL"
431
 
>t</TT
432
 
><BR><TT
433
 
CLASS="LITERAL"
434
 
>tar</TT
435
 
></DT
436
 
><DD
437
 
><P
438
 
>           The archive is a <TT
439
 
CLASS="COMMAND"
440
 
>tar</TT
441
 
> archive.
442
 
          </P
443
 
></DD
444
 
><DT
445
 
><TT
446
 
CLASS="LITERAL"
447
415
>c</TT
448
416
><BR><TT
449
417
CLASS="LITERAL"
458
426
>.
459
427
          </P
460
428
></DD
 
429
><DT
 
430
><TT
 
431
CLASS="LITERAL"
 
432
>d</TT
 
433
><BR><TT
 
434
CLASS="LITERAL"
 
435
>directory</TT
 
436
></DT
 
437
><DD
 
438
><P
 
439
>           The archive is a directory archive.
 
440
          </P
 
441
></DD
 
442
><DT
 
443
><TT
 
444
CLASS="LITERAL"
 
445
>t</TT
 
446
><BR><TT
 
447
CLASS="LITERAL"
 
448
>tar</TT
 
449
></DT
 
450
><DD
 
451
><P
 
452
>           The archive is a <TT
 
453
CLASS="COMMAND"
 
454
>tar</TT
 
455
> archive.
 
456
          </P
 
457
></DD
461
458
></DL
462
459
></DIV
463
460
><P>
707
704
><DT
708
705
><TT
709
706
CLASS="OPTION"
710
 
>--no-tablespaces</TT
711
 
></DT
712
 
><DD
713
 
><P
714
 
>        Do not output commands to select tablespaces.
715
 
        With this option, all objects will be created in whichever
716
 
        tablespace is the default during restore.
717
 
       </P
718
 
></DD
719
 
><DT
720
 
><TT
721
 
CLASS="OPTION"
722
 
>--no-security-label</TT
723
 
></DT
724
 
><DD
725
 
><P
726
 
>        Do not output commands to restore security labels,
727
 
        even if the archive contains them.
728
 
       </P
729
 
></DD
730
 
><DT
731
 
><TT
732
 
CLASS="OPTION"
733
707
>-P <TT
734
708
CLASS="REPLACEABLE"
735
709
><I
913
887
><DT
914
888
><TT
915
889
CLASS="OPTION"
 
890
>-1</TT
 
891
><BR><TT
 
892
CLASS="OPTION"
 
893
>--single-transaction</TT
 
894
></DT
 
895
><DD
 
896
><P
 
897
>        Execute the restore as a single transaction (that is, wrap the
 
898
        emitted commands in <TT
 
899
CLASS="COMMAND"
 
900
>BEGIN</TT
 
901
>/<TT
 
902
CLASS="COMMAND"
 
903
>COMMIT</TT
 
904
>).  This
 
905
        ensures that either all the commands complete successfully, or no
 
906
        changes are applied. This option implies
 
907
        <TT
 
908
CLASS="OPTION"
 
909
>--exit-on-error</TT
 
910
>.
 
911
       </P
 
912
></DD
 
913
><DT
 
914
><TT
 
915
CLASS="OPTION"
916
916
>--disable-triggers</TT
917
917
></DT
918
918
><DD
950
950
><DT
951
951
><TT
952
952
CLASS="OPTION"
953
 
>--use-set-session-authorization</TT
954
 
></DT
955
 
><DD
956
 
><P
957
 
>        Output SQL-standard <TT
958
 
CLASS="COMMAND"
959
 
>SET SESSION AUTHORIZATION</TT
960
 
> commands
961
 
        instead of <TT
962
 
CLASS="COMMAND"
963
 
>ALTER OWNER</TT
964
 
> commands to determine object
965
 
        ownership.  This makes the dump more standards-compatible, but
966
 
        depending on the history of the objects in the dump, might not restore
967
 
        properly.
968
 
       </P
969
 
></DD
970
 
><DT
971
 
><TT
972
 
CLASS="OPTION"
973
953
>--no-data-for-failed-tables</TT
974
954
></DT
975
955
><DD
998
978
><DT
999
979
><TT
1000
980
CLASS="OPTION"
1001
 
>-1</TT
1002
 
><BR><TT
1003
 
CLASS="OPTION"
1004
 
>--single-transaction</TT
1005
 
></DT
1006
 
><DD
1007
 
><P
1008
 
>        Execute the restore as a single transaction (that is, wrap the
1009
 
        emitted commands in <TT
1010
 
CLASS="COMMAND"
1011
 
>BEGIN</TT
1012
 
>/<TT
1013
 
CLASS="COMMAND"
1014
 
>COMMIT</TT
1015
 
>).  This
1016
 
        ensures that either all the commands complete successfully, or no
1017
 
        changes are applied. This option implies
1018
 
        <TT
1019
 
CLASS="OPTION"
1020
 
>--exit-on-error</TT
1021
 
>.
 
981
>--no-security-labels</TT
 
982
></DT
 
983
><DD
 
984
><P
 
985
>        Do not output commands to restore security labels,
 
986
        even if the archive contains them.
 
987
       </P
 
988
></DD
 
989
><DT
 
990
><TT
 
991
CLASS="OPTION"
 
992
>--no-tablespaces</TT
 
993
></DT
 
994
><DD
 
995
><P
 
996
>        Do not output commands to select tablespaces.
 
997
        With this option, all objects will be created in whichever
 
998
        tablespace is the default during restore.
 
999
       </P
 
1000
></DD
 
1001
><DT
 
1002
><TT
 
1003
CLASS="OPTION"
 
1004
>--use-set-session-authorization</TT
 
1005
></DT
 
1006
><DD
 
1007
><P
 
1008
>        Output SQL-standard <TT
 
1009
CLASS="COMMAND"
 
1010
>SET SESSION AUTHORIZATION</TT
 
1011
> commands
 
1012
        instead of <TT
 
1013
CLASS="COMMAND"
 
1014
>ALTER OWNER</TT
 
1015
> commands to determine object
 
1016
        ownership.  This makes the dump more standards-compatible, but
 
1017
        depending on the history of the objects in the dump, might not restore
 
1018
        properly.
1022
1019
       </P
1023
1020
></DD
1024
1021
><DT
1240
1237
><DIV
1241
1238
CLASS="REFSECT1"
1242
1239
><A
1243
 
NAME="AEN79861"
 
1240
NAME="AEN79881"
1244
1241
></A
1245
1242
><H2
1246
1243
>Environment</H2
1602
1599
><DIV
1603
1600
CLASS="REFSECT1"
1604
1601
><A
1605
 
NAME="AEN79954"
 
1602
NAME="AEN79974"
1606
1603
></A
1607
1604
><H2
1608
1605
>See Also</H2