diff --git a/doc/src/sgml/ref/pg_ctl-ref.sgml b/doc/src/sgml/ref/pg_ctl-ref.sgml
index 783062333f..4fc37312ea 100644
--- a/doc/src/sgml/ref/pg_ctl-ref.sgml
+++ b/doc/src/sgml/ref/pg_ctl-ref.sgml
@@ -1,5 +1,5 @@
@@ -287,7 +287,7 @@ $ pg_ctl -w start
try:
-$ pg_ctl -p /usr/local/pgsq/bin/postmaster start
+$ pg_ctl -p /usr/local/pgsql/bin/postmaster start
diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml
index c91420342e..c8daa1f7a4 100644
--- a/doc/src/sgml/ref/psql-ref.sgml
+++ b/doc/src/sgml/ref/psql-ref.sgml
@@ -1,5 +1,5 @@
@@ -1965,7 +1965,7 @@ testdb=> \set content `sed -e "s/'/\\\\\\'/g" < my_file.txt`
%M
- The full hostname (with domainname) of the database server (or
+ The full hostname (with domain name) of the database server (or
localhost
if hostname information is not available).