1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-25 21:42:33 +03:00

Fix from Tom Lane for pg_shadow in pg_upgrade

This commit is contained in:
Bruce Momjian 1998-10-25 02:47:38 +00:00
parent cf5055261e
commit ba74ce73bb
3 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@ Description
PostgreSQL release without reloading all the data. First, PostgreSQL release without reloading all the data. First,
to be safe, back up your data directory. Then, use: to be safe, back up your data directory. Then, use:
<programlisting> <programlisting>
% pg_dumpall -s >db.out % pg_dumpall -s -z >db.out
</programlisting> </programlisting>
to dump out your old database definitions without any to dump out your old database definitions without any
data. Stop the postmaster and all backends. data. Stop the postmaster and all backends.

View File

@ -61,7 +61,7 @@ fi
# then shouldn't be in there anyway # then shouldn't be in there anyway
cat $INPUT | awk ' { cat $INPUT | awk ' {
if (toupper($0) ~ /^COPY /) if (toupper($1) != "COPY" && $2 != "pg_shadow")
while (getline $0 > 0 && $0 != "\\.") while (getline $0 > 0 && $0 != "\\.")
; ;
else print $0; else print $0;

View File

@ -1,6 +1,6 @@
.\" This is -*-nroff-*- .\" This is -*-nroff-*-
.\" XXX standard disclaimer belongs here.... .\" XXX standard disclaimer belongs here....
.\" $Header: /cvsroot/pgsql/src/man/Attic/pg_upgrade.1,v 1.4 1998/08/31 04:32:18 momjian Exp $ .\" $Header: /cvsroot/pgsql/src/man/Attic/pg_upgrade.1,v 1.5 1998/10/25 02:47:38 momjian Exp $
.TH pg_upgrade UNIX 1/20/96 PostgreSQL PostgreSQL .TH pg_upgrade UNIX 1/20/96 PostgreSQL PostgreSQL
.SH NAME .SH NAME
pg_upgrade - allows upgrade from a previous release without reloading data pg_upgrade - allows upgrade from a previous release without reloading data
@ -15,7 +15,7 @@ First, to be safe, back up your data directory.
Then, use: Then, use:
.nf .nf
pg_dumpall -s >db.out pg_dumpall -s -z >db.out
.fi .fi
to dump out your old database definitions without any data. to dump out your old database definitions without any data.