From 552d59353fdedc099a2b0c4de0670beabe92bf5e Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 5 Jun 2000 17:07:56 +0000 Subject: [PATCH] Update for 7.0.2. --- INSTALL | 5 +++-- doc/src/sgml/install.sgml | 7 ++++--- src/backend/commands/copy.c | 4 ++-- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/INSTALL b/INSTALL index 243b2956ad..75b9aa9a64 100644 --- a/INSTALL +++ b/INSTALL @@ -199,7 +199,7 @@ For a fresh install or upgrading from previous releases of PostgreSQL: works. - If you used pg_dumpall, move the old directories out of the + If you used pg_dumpall, move the old directory out of the way. Type the following: > mv /usr/local/pgsql /usr/local/pgsql.old @@ -250,7 +250,8 @@ For a fresh install or upgrading from previous releases of PostgreSQL: then the above was necessary. Simply do this step then. - 9. Create the database installation (the working data files). To do this + 9. If you moved the old directory out of the way, + create the database installation (the working data files). To do this you must log in to your PostgreSQL superuser account. It will not work as root. diff --git a/doc/src/sgml/install.sgml b/doc/src/sgml/install.sgml index 7d33a6575b..50fe9695d4 100644 --- a/doc/src/sgml/install.sgml +++ b/doc/src/sgml/install.sgml @@ -1,5 +1,5 @@ @@ -326,7 +326,7 @@ All of PostgreSQL is successfully made. Ready to install. - If you used pg_dumpall, move the old directories out of the way. + If you used pg_dumpall, move the old directory out of the way. Type the following: > mv /usr/local/pgsql /usr/local/pgsql.old @@ -392,7 +392,8 @@ libpq.so.2.1: cannot open shared object file: No such file or directory - Create the database installation (the working data files). + If you moved the old directory out of the way, + create the database installation (the working data files). To do this you must log in to your PostgreSQL superuser account. It will not work as root. diff --git a/src/backend/commands/copy.c b/src/backend/commands/copy.c index 68773ba14e..d495b186cc 100644 --- a/src/backend/commands/copy.c +++ b/src/backend/commands/copy.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.111 2000/06/05 07:28:42 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/commands/copy.c,v 1.112 2000/06/05 17:07:56 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -307,7 +307,7 @@ DoCopy(char *relname, bool binary, bool oids, bool from, bool pipe, if (from) { /* copy from file to database */ if (rel->rd_rel->relkind == RELKIND_SEQUENCE) - elog(ERROR, "You can't change sequence relation %s", relname); + elog(ERROR, "You cannot change sequence relation %s", relname); if (pipe) { if (IsUnderPostmaster)