diff --git a/doc/src/sgml/ref/pg_dump.sgml b/doc/src/sgml/ref/pg_dump.sgml index b29fe248dcf..9e076a43083 100644 --- a/doc/src/sgml/ref/pg_dump.sgml +++ b/doc/src/sgml/ref/pg_dump.sgml @@ -1,5 +1,5 @@ @@ -243,6 +243,19 @@ PostgreSQL documentation + + c + custom + + + Output a custom archive suitable for input into + pg_restore. This is the most flexible + format in that it allows reordering of loading data as well + as object definitions. This format is also compressed by default. + + + + t tar @@ -257,19 +270,6 @@ PostgreSQL documentation - - c - custom - - - Output a custom archive suitable for input into - pg_restore. This is the most flexible - format in that it allows reordering of loading data as well - as object definitions. This format is also compressed by default. - - - - @@ -665,11 +665,11 @@ CREATE DATABASE foo WITH TEMPLATE template0; - To dump a database called mydb to a tar + To dump a database called mydb to a file in custom format: file: -$ pg_dump -Ft mydb > db.tar +$ pg_dump -Fc mydb > db.out @@ -677,7 +677,7 @@ CREATE DATABASE foo WITH TEMPLATE template0; To reload this dump into an existing database called newdb: -$ pg_restore -d newdb db.tar +$ pg_restore -d newdb db.out