Update examples of create/drop scripts.
authorPeter Eisentraut
Thu, 21 Jun 2007 10:43:09 +0000 (10:43 +0000)
committerPeter Eisentraut
Thu, 21 Jun 2007 10:43:09 +0000 (10:43 +0000)
doc/src/sgml/ref/createdb.sgml
doc/src/sgml/ref/createuser.sgml
doc/src/sgml/ref/dropdb.sgml
doc/src/sgml/ref/dropuser.sgml
doc/src/sgml/start.sgml

index caffb5c35a1afd0ef969574ae58dc4247dad15f9..3b12e94f7934d994fbb648f49c06a33ef1a68a95 100644 (file)
@@ -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';
 
    
  
index eb70ace453b9201ea61d90eb2b60ce6c3103586d..1ce1ae6bb2e370c142ff1a6201141bcaf8539e74 100644 (file)
@@ -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
index 4904bdd64b64e143c7b48075f21cb4819fb141d3..b60c7a82522b75d9becb7fcee21c1e688336adbe 100644 (file)
@@ -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;
 
    
  
index a4e2195e21d76234d00c96fea7644048314ebb6f..a1d560009e377b7b7c517e9f3bf4afde816efe32 100644 (file)
@@ -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;
 
    
  
index 360082ff94bf3dbd2a4b73583b671ad28aec0c67..c97b953c5a1090f7c0ca27638982d74969413efd 100644 (file)
@@ -1,4 +1,4 @@
-
+
 
  
   Getting Started
 
 $ 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.