diff options
-rw-r--r-- | INSTALL | 5 | ||||
-rw-r--r-- | doc/src/sgml/install.sgml | 7 | ||||
-rw-r--r-- | src/backend/commands/copy.c | 4 |
3 files changed, 9 insertions, 7 deletions
@@ -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 7d33a6575b6..50fe9695d48 100644 --- a/doc/src/sgml/install.sgml +++ b/doc/src/sgml/install.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/Attic/install.sgml,v 1.44 2000/06/05 10:57:57 momjian Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/Attic/install.sgml,v 1.45 2000/06/05 17:07:53 momjian Exp $ --> <chapter id="install"> @@ -326,7 +326,7 @@ All of PostgreSQL is successfully made. Ready to install. </tip> <para> - 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: <programlisting> > 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 <step performance="required"> <para> - 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 <productname>PostgreSQL</productname> superuser account. It will not work as root. diff --git a/src/backend/commands/copy.c b/src/backend/commands/copy.c index 68773ba14e7..d495b186cc5 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) |