Guillaume Lelarge guillaume at lelarge.info
Mon Oct 3 08:40:16 PDT 2011
With PostgreSQL 8.1 and later, the -A switch is replaced with -S. We add -R
and -D to make sure the user doesn't have the CREATEDB and CREATEROLE
attributes.
---
 doc/adminguide/firstdb.sgml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/doc/adminguide/firstdb.sgml b/doc/adminguide/firstdb.sgml
index 477892f..4d2f714 100644
--- a/doc/adminguide/firstdb.sgml
+++ b/doc/adminguide/firstdb.sgml
@@ -88,7 +88,7 @@ ERROR  remoteListenThread_1: db_getLocalNodeId() returned 2 - wrong database?
 <indexterm><primary>pgbench setup</primary> </indexterm>
 
 <para><command>
-createuser -A -D $PGBENCHUSER
+createuser -SRD $PGBENCHUSER
 </command>
 </para>
 </sect2>
-- 
1.7.6.4


--=-ya/EsikKHFKoQj6S9U99--



More information about the Slony1-hackers mailing list