diff --git a/doc/src/sgml/ref/createdb.sgml b/doc/src/sgml/ref/createdb.sgml index caffb5c35a..3b12e94f79 100644 --- a/doc/src/sgml/ref/createdb.sgml +++ b/doc/src/sgml/ref/createdb.sgml @@ -1,5 +1,5 @@ @@ -265,10 +265,7 @@ PostgreSQL documentation database server: $ createdb demo -CREATE DATABASE - The response is the same as you would have gotten from running the - CREATE DATABASE SQL command. @@ -278,8 +275,7 @@ PostgreSQL documentation underlying command: $ createdb -p 5000 -h eden -E LATIN1 -e demo -CREATE DATABASE "demo" WITH ENCODING = 'LATIN1' -CREATE DATABASE +CREATE DATABASE demo ENCODING 'LATIN1'; diff --git a/doc/src/sgml/ref/createuser.sgml b/doc/src/sgml/ref/createuser.sgml index eb70ace453..1ce1ae6bb2 100644 --- a/doc/src/sgml/ref/createuser.sgml +++ b/doc/src/sgml/ref/createuser.sgml @@ -1,5 +1,5 @@ @@ -358,7 +358,6 @@ PostgreSQL documentation Shall the new role be a superuser? (y/n) n Shall the new role be allowed to create databases? (y/n) n Shall the new role be allowed to create more new roles? (y/n) n -CREATE USER @@ -369,7 +368,6 @@ PostgreSQL documentation $ createuser -h eden -p 5000 -S -D -R -e joe CREATE ROLE joe NOSUPERUSER NOCREATEDB NOCREATEROLE INHERIT LOGIN; -CREATE ROLE @@ -381,7 +379,6 @@ PostgreSQL documentation Enter password for new role: xyzzy Enter it again: xyzzy CREATE ROLE joe PASSWORD 'xyzzy' SUPERUSER CREATEDB CREATEROLE INHERIT LOGIN; -CREATE ROLE In the above example, the new password isn't actually echoed when typed, but we show what was typed for clarity. However the password diff --git a/doc/src/sgml/ref/dropdb.sgml b/doc/src/sgml/ref/dropdb.sgml index 4904bdd64b..b60c7a8252 100644 --- a/doc/src/sgml/ref/dropdb.sgml +++ b/doc/src/sgml/ref/dropdb.sgml @@ -1,5 +1,5 @@ @@ -192,7 +192,6 @@ PostgreSQL documentation database server: $ dropdb demo -DROP DATABASE @@ -204,8 +203,7 @@ PostgreSQL documentation $ dropdb -p 5000 -h eden -i -e demo Database "demo" will be permanently deleted. Are you sure? (y/n) y -DROP DATABASE "demo" -DROP DATABASE +DROP DATABASE demo; diff --git a/doc/src/sgml/ref/dropuser.sgml b/doc/src/sgml/ref/dropuser.sgml index a4e2195e21..a1d560009e 100644 --- a/doc/src/sgml/ref/dropuser.sgml +++ b/doc/src/sgml/ref/dropuser.sgml @@ -1,5 +1,5 @@ @@ -195,7 +195,6 @@ PostgreSQL documentation server: $ dropuser joe -DROP ROLE @@ -207,8 +206,7 @@ PostgreSQL documentation $ dropuser -p 5000 -h eden -i -e joe Role "joe" will be permanently removed. Are you sure? (y/n) y -DROP ROLE "joe" -DROP ROLE +DROP ROLE joe; diff --git a/doc/src/sgml/start.sgml b/doc/src/sgml/start.sgml index 360082ff94..c97b953c5a 100644 --- a/doc/src/sgml/start.sgml +++ b/doc/src/sgml/start.sgml @@ -1,4 +1,4 @@ - + Getting Started @@ -154,11 +154,7 @@ $ createdb mydb - This should produce as response: - -CREATE DATABASE - - If so, this step was successful and you can skip over the + If this produces no response then this step was successful and you can skip over the remainder of this section.