Commit 1b7c13ea authored by Bruce Momjian's avatar Bruce Momjian

Change prompt % to $.

parent 32f9b864
<!-- <!--
$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 Postgres documentation
--> -->
...@@ -387,7 +387,7 @@ dumpSequence(<replaceable class="parameter">table</replaceable>): SELECT failed ...@@ -387,7 +387,7 @@ dumpSequence(<replaceable class="parameter">table</replaceable>): SELECT failed
To dump a database of the same name as the user: To dump a database of the same name as the user:
<programlisting> <programlisting>
% pg_dump > db.out $ pg_dump > db.out
</programlisting> </programlisting>
</para> </para>
...@@ -395,7 +395,7 @@ dumpSequence(<replaceable class="parameter">table</replaceable>): SELECT failed ...@@ -395,7 +395,7 @@ dumpSequence(<replaceable class="parameter">table</replaceable>): SELECT failed
To reload this database: To reload this database:
<programlisting> <programlisting>
% psql -e database < db.out $ psql -e database < db.out
</programlisting> </programlisting>
</para> </para>
</refsect1> </refsect1>
......
<!-- <!--
$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 Postgres documentation
--> -->
...@@ -277,7 +277,7 @@ dumpSequence(<replaceable class="parameter">table</replaceable>): SELECT failed ...@@ -277,7 +277,7 @@ dumpSequence(<replaceable class="parameter">table</replaceable>): SELECT failed
To dump all databases: To dump all databases:
<programlisting> <programlisting>
% pg_dumpall > db.out $ pg_dumpall > db.out
</programlisting> </programlisting>
<tip> <tip>
...@@ -291,7 +291,7 @@ dumpSequence(<replaceable class="parameter">table</replaceable>): SELECT failed ...@@ -291,7 +291,7 @@ dumpSequence(<replaceable class="parameter">table</replaceable>): SELECT failed
To reload this database: To reload this database:
<programlisting> <programlisting>
% psql -e template1 < db.out $ psql -e template1 < db.out
</programlisting> </programlisting>
</para> </para>
<tip> <tip>
......
<!-- <!--
$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 Postgres documentation
--> -->
...@@ -77,7 +77,7 @@ pg_guest:/nB7.w5Auq.BY:93001 ...@@ -77,7 +77,7 @@ pg_guest:/nB7.w5Auq.BY:93001
the new password for <literal>pg_guest</literal>: the new password for <literal>pg_guest</literal>:
<programlisting> <programlisting>
% pg_passwd passwd $ pg_passwd passwd
Username: pg_guest Username: pg_guest
Password: Password:
Re-enter password: Re-enter password:
...@@ -102,7 +102,7 @@ pg_guest:/nB7.w5Auq.BY:93001 ...@@ -102,7 +102,7 @@ pg_guest:/nB7.w5Auq.BY:93001
The following lines show the sample usage of the option: The following lines show the sample usage of the option:
<programlisting> <programlisting>
% psql -h hyalos -u unv $ psql -h hyalos -u unv
Username: pg_guest Username: pg_guest
Password: Password:
Welcome to the POSTGRESQL interactive sql monitor: Welcome to the POSTGRESQL interactive sql monitor:
......
<!-- <!--
$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 Postgres documentation
--> -->
...@@ -57,7 +57,7 @@ pg_upgrade [ -f <replaceable class="parameter">filename</replaceable> ] <replace ...@@ -57,7 +57,7 @@ pg_upgrade [ -f <replaceable class="parameter">filename</replaceable> ] <replace
<para> <para>
Then do: Then do:
<programlisting> <programlisting>
% pg_dumpall -s >db.out $ pg_dumpall -s >db.out
</programlisting> </programlisting>
to dump out your old database's table definitions without any data. to dump out your old database's table definitions without any data.
</para> </para>
...@@ -80,7 +80,7 @@ pg_upgrade [ -f <replaceable class="parameter">filename</replaceable> ] <replace ...@@ -80,7 +80,7 @@ pg_upgrade [ -f <replaceable class="parameter">filename</replaceable> ] <replace
<para> <para>
Do Do
<programlisting> <programlisting>
% make install $ make install
</programlisting> </programlisting>
to install the new binaries. to install the new binaries.
</para> </para>
...@@ -107,7 +107,7 @@ pg_upgrade [ -f <replaceable class="parameter">filename</replaceable> ] <replace ...@@ -107,7 +107,7 @@ pg_upgrade [ -f <replaceable class="parameter">filename</replaceable> ] <replace
Change your working directory to the Change your working directory to the
pgsql main directory, and type: pgsql main directory, and type:
<programlisting> <programlisting>
% pg_upgrade -f db.out data.old $ pg_upgrade -f db.out data.old
</programlisting> </programlisting>
The program will do some checking to make sure everything is properly 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 configured, and will run your db.out script to recreate all the databases
......
<!-- <!--
$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 Postgres documentation
--> -->
...@@ -299,11 +299,11 @@ StreamServerPort: cannot bind to port ...@@ -299,11 +299,11 @@ StreamServerPort: cannot bind to port
process already running on the same port number. The easiest way to process already running on the same port number. The easiest way to
determine this is by using the command determine this is by using the command
<programlisting> <programlisting>
% ps -ax | grep postmaster $ ps -ax | grep postmaster
</programlisting> </programlisting>
on BSD-based systems, or on BSD-based systems, or
<programlisting> <programlisting>
% ps -e | grep postmast $ ps -e | grep postmast
</programlisting> </programlisting>
for System V-like or POSIX-compliant systems such as HP-UX. for System V-like or POSIX-compliant systems such as HP-UX.
</para> </para>
...@@ -408,13 +408,13 @@ IpcMemoryAttach: shmat() failed: Permission denied ...@@ -408,13 +408,13 @@ IpcMemoryAttach: shmat() failed: Permission denied
should be used instead. Using should be used instead. Using
<programlisting> <programlisting>
% kill -KILL $ kill -KILL
</programlisting> </programlisting>
or its alternative form or its alternative form
<programlisting> <programlisting>
% kill -9 $ kill -9
</programlisting> </programlisting>
will prevent <application>postmaster</application> will prevent <application>postmaster</application>
...@@ -443,7 +443,7 @@ or its alternative form ...@@ -443,7 +443,7 @@ or its alternative form
values, type: values, type:
<programlisting> <programlisting>
% nohup postmaster >logfile 2>&1 & $ nohup postmaster >logfile 2>&1 &
</programlisting> </programlisting>
This command will start up <application>postmaster</application> This command will start up <application>postmaster</application>
...@@ -456,7 +456,7 @@ or its alternative form ...@@ -456,7 +456,7 @@ or its alternative form
To start <application>postmaster</application> with a specific port: To start <application>postmaster</application> with a specific port:
<programlisting> <programlisting>
% nohup postmaster -p 1234 & $ nohup postmaster -p 1234 &
</programlisting> </programlisting>
This command will start up <application>postmaster</application> This command will start up <application>postmaster</application>
...@@ -465,14 +465,14 @@ or its alternative form ...@@ -465,14 +465,14 @@ or its alternative form
using psql, you would need to run it as using psql, you would need to run it as
<programlisting> <programlisting>
% psql -p 1234 $ psql -p 1234
</programlisting> </programlisting>
or set the environment variable <envar>PGPORT</envar>: or set the environment variable <envar>PGPORT</envar>:
<programlisting> <programlisting>
% setenv PGPORT 1234 $ setenv PGPORT 1234
% psql $ psql
</programlisting> </programlisting>
</para> </para>
</refsect1> </refsect1>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment