summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc G. Fournier1996-10-04 20:08:29 +0000
committerMarc G. Fournier1996-10-04 20:08:29 +0000
commit312b4dabfee8a490c5c8e8acf708e09a6a551b8c (patch)
tree0cf0605c40ed1c8f089a704f4d34f2dc0ce536fb
parent27bccb9db3c43ae3424bbe26b8c2d68268269627 (diff)
This patch corrects some errors in sample commands in the INSTALL file.
Submitted by: [email protected] (Bryan Henderson)
-rw-r--r--INSTALL7
1 files changed, 5 insertions, 2 deletions
diff --git a/INSTALL b/INSTALL
index cde4c4809f..510b084fcb 100644
--- a/INSTALL
+++ b/INSTALL
@@ -190,7 +190,7 @@ Postgres superuser. See the postgres man page.
So, for example, you can login as the Postgres superuser and issue the
command:
- % postgres -S -D/usr/lib/postgres/postgres_data -p5432
+ % postmaster -S -D/usr/lib/postgres/postgres_data -p5432
This says to run the postmaster against the database system created above,
to accept connections from users on the conventional TCP port 5432, and
@@ -232,12 +232,15 @@ daemon is running, and the regression tests have passed, you'll want to
see Postgres95 do something. That's easy. Invoke the interactive interface
to Postgres95, psql, and start typing SQL:
- % psql -d/usr/lib/postgres_data template1
+ % psql -p 5432 template1
(psql has to open a particular database, but at this point the only one
that exists is the template1 database, which always exists. We will connect
to it only long enough to create another one and switch to it).
+Note that we have told psql to connect to Port 5432, which is what we told
+the postmaster to listen on when we started it above.
+
The response from psql is:
type \? for help on slash commands