diff options
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/pg_dump.sgml | 6 | ||||
-rw-r--r-- | doc/src/sgml/ref/pg_dumpall.sgml | 6 | ||||
-rw-r--r-- | doc/src/sgml/ref/pg_passwd.sgml | 6 | ||||
-rw-r--r-- | doc/src/sgml/ref/pg_upgrade.sgml | 8 | ||||
-rw-r--r-- | doc/src/sgml/ref/postmaster.sgml | 20 |
5 files changed, 23 insertions, 23 deletions
diff --git a/doc/src/sgml/ref/pg_dump.sgml b/doc/src/sgml/ref/pg_dump.sgml index 401c41e4021..354ac158a02 100644 --- a/doc/src/sgml/ref/pg_dump.sgml +++ b/doc/src/sgml/ref/pg_dump.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.17 2000/04/11 14:43:54 momjian Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_dump.sgml,v 1.18 2000/07/21 00:24:37 momjian Exp $ Postgres documentation --> @@ -387,7 +387,7 @@ dumpSequence(<replaceable class="parameter">table</replaceable>): SELECT failed To dump a database of the same name as the user: <programlisting> -% pg_dump > db.out +$ pg_dump > db.out </programlisting> </para> @@ -395,7 +395,7 @@ dumpSequence(<replaceable class="parameter">table</replaceable>): SELECT failed To reload this database: <programlisting> -% psql -e database < db.out +$ psql -e database < db.out </programlisting> </para> </refsect1> diff --git a/doc/src/sgml/ref/pg_dumpall.sgml b/doc/src/sgml/ref/pg_dumpall.sgml index bde5bb40a9c..399309493b4 100644 --- a/doc/src/sgml/ref/pg_dumpall.sgml +++ b/doc/src/sgml/ref/pg_dumpall.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_dumpall.sgml,v 1.7 2000/01/24 19:34:13 petere Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_dumpall.sgml,v 1.8 2000/07/21 00:24:37 momjian Exp $ Postgres documentation --> @@ -277,7 +277,7 @@ dumpSequence(<replaceable class="parameter">table</replaceable>): SELECT failed To dump all databases: <programlisting> -% pg_dumpall > db.out +$ pg_dumpall > db.out </programlisting> <tip> @@ -291,7 +291,7 @@ dumpSequence(<replaceable class="parameter">table</replaceable>): SELECT failed To reload this database: <programlisting> -% psql -e template1 < db.out +$ psql -e template1 < db.out </programlisting> </para> <tip> diff --git a/doc/src/sgml/ref/pg_passwd.sgml b/doc/src/sgml/ref/pg_passwd.sgml index b418c72b40e..fff87b48c13 100644 --- a/doc/src/sgml/ref/pg_passwd.sgml +++ b/doc/src/sgml/ref/pg_passwd.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/pg_passwd.sgml,v 1.2 2000/05/30 18:00:30 momjian Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/pg_passwd.sgml,v 1.3 2000/07/21 00:24:37 momjian Exp $ Postgres documentation --> @@ -77,7 +77,7 @@ pg_guest:/nB7.w5Auq.BY:93001 the new password for <literal>pg_guest</literal>: <programlisting> - % pg_passwd passwd + $ pg_passwd passwd Username: pg_guest Password: Re-enter password: @@ -102,7 +102,7 @@ pg_guest:/nB7.w5Auq.BY:93001 The following lines show the sample usage of the option: <programlisting> -% psql -h hyalos -u unv +$ psql -h hyalos -u unv Username: pg_guest Password: Welcome to the POSTGRESQL interactive sql monitor: diff --git a/doc/src/sgml/ref/pg_upgrade.sgml b/doc/src/sgml/ref/pg_upgrade.sgml index 948e76bad2c..879f53d540d 100644 --- a/doc/src/sgml/ref/pg_upgrade.sgml +++ b/doc/src/sgml/ref/pg_upgrade.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/pg_upgrade.sgml,v 1.9 2000/03/27 17:14:43 thomas Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/ref/Attic/pg_upgrade.sgml,v 1.10 2000/07/21 00:24:37 momjian Exp $ Postgres documentation --> @@ -57,7 +57,7 @@ pg_upgrade [ -f <replaceable class="parameter">filename</replaceable> ] <replace <para> Then do: <programlisting> -% pg_dumpall -s >db.out +$ pg_dumpall -s >db.out </programlisting> to dump out your old database's table definitions without any data. </para> @@ -80,7 +80,7 @@ pg_upgrade [ -f <replaceable class="parameter">filename</replaceable> ] <replace <para> Do <programlisting> -% make install +$ make install </programlisting> to install the new binaries. </para> @@ -107,7 +107,7 @@ pg_upgrade [ -f <replaceable class="parameter">filename</replaceable> ] <replace Change your working directory to the pgsql main directory, and type: <programlisting> -% pg_upgrade -f db.out data.old +$ pg_upgrade -f db.out data.old </programlisting> The program will do some checking to make sure everything is properly configured, and will run your db.out script to recreate all the databases diff --git a/doc/src/sgml/ref/postmaster.sgml b/doc/src/sgml/ref/postmaster.sgml index beb3fb046ce..124098f4dd1 100644 --- a/doc/src/sgml/ref/postmaster.sgml +++ b/doc/src/sgml/ref/postmaster.sgml @@ -1,5 +1,5 @@ <!-- -$Header: /cvsroot/pgsql/doc/src/sgml/ref/postmaster.sgml,v 1.9 2000/05/02 20:02:03 thomas Exp $ +$Header: /cvsroot/pgsql/doc/src/sgml/ref/postmaster.sgml,v 1.10 2000/07/21 00:24:37 momjian Exp $ Postgres documentation --> @@ -299,11 +299,11 @@ StreamServerPort: cannot bind to port process already running on the same port number. The easiest way to determine this is by using the command <programlisting> -% ps -ax | grep postmaster +$ ps -ax | grep postmaster </programlisting> on BSD-based systems, or <programlisting> -% ps -e | grep postmast +$ ps -e | grep postmast </programlisting> for System V-like or POSIX-compliant systems such as HP-UX. </para> @@ -408,13 +408,13 @@ IpcMemoryAttach: shmat() failed: Permission denied should be used instead. Using <programlisting> -% kill -KILL +$ kill -KILL </programlisting> or its alternative form <programlisting> -% kill -9 +$ kill -9 </programlisting> will prevent <application>postmaster</application> @@ -443,7 +443,7 @@ or its alternative form values, type: <programlisting> -% nohup postmaster >logfile 2>&1 & +$ nohup postmaster >logfile 2>&1 & </programlisting> This command will start up <application>postmaster</application> @@ -456,7 +456,7 @@ or its alternative form To start <application>postmaster</application> with a specific port: <programlisting> -% nohup postmaster -p 1234 & +$ nohup postmaster -p 1234 & </programlisting> This command will start up <application>postmaster</application> @@ -465,14 +465,14 @@ or its alternative form using psql, you would need to run it as <programlisting> -% psql -p 1234 +$ psql -p 1234 </programlisting> or set the environment variable <envar>PGPORT</envar>: <programlisting> -% setenv PGPORT 1234 -% psql +$ setenv PGPORT 1234 +$ psql </programlisting> </para> </refsect1> |