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 @@
@@ -387,7 +387,7 @@ dumpSequence(table): SELECT failed
To dump a database of the same name as the user:
-% pg_dump > db.out
+$ pg_dump > db.out
@@ -395,7 +395,7 @@ dumpSequence(table): SELECT failed
To reload this database:
-% psql -e database < db.out
+$ psql -e database < db.out
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 @@
@@ -277,7 +277,7 @@ dumpSequence(table): SELECT failed
To dump all databases:
-% pg_dumpall > db.out
+$ pg_dumpall > db.out
@@ -291,7 +291,7 @@ dumpSequence(table): SELECT failed
To reload this database:
-% psql -e template1 < db.out
+$ psql -e template1 < db.out
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 @@
@@ -77,7 +77,7 @@ pg_guest:/nB7.w5Auq.BY:93001
the new password for pg_guest:
- % 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:
-% 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 @@
@@ -57,7 +57,7 @@ pg_upgrade [ -f filename ]
Then do:
-% pg_dumpall -s >db.out
+$ pg_dumpall -s >db.out
to dump out your old database's table definitions without any data.
@@ -80,7 +80,7 @@ pg_upgrade [ -f filename ]
Do
-% make install
+$ make install
to install the new binaries.
@@ -107,7 +107,7 @@ pg_upgrade [ -f filename ]
-% pg_upgrade -f db.out data.old
+$ pg_upgrade -f db.out data.old
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 @@
@@ -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
-% ps -ax | grep postmaster
+$ ps -ax | grep postmaster
on BSD-based systems, or
-% ps -e | grep postmast
+$ ps -e | grep postmast
for System V-like or POSIX-compliant systems such as HP-UX.
@@ -408,13 +408,13 @@ IpcMemoryAttach: shmat() failed: Permission denied
should be used instead. Using
-% kill -KILL
+$ kill -KILL
or its alternative form
-% kill -9
+$ kill -9
will prevent postmaster
@@ -443,7 +443,7 @@ or its alternative form
values, type:
-% nohup postmaster >logfile 2>&1 &
+$ nohup postmaster >logfile 2>&1 &
This command will start up postmaster
@@ -456,7 +456,7 @@ or its alternative form
To start postmaster with a specific port:
-% nohup postmaster -p 1234 &
+$ nohup postmaster -p 1234 &
This command will start up postmaster
@@ -465,14 +465,14 @@ or its alternative form
using psql, you would need to run it as
-% psql -p 1234
+$ psql -p 1234
or set the environment variable PGPORT:
-% setenv PGPORT 1234
-% psql
+$ setenv PGPORT 1234
+$ psql