[GRASS-SVN] r32212 - grass/branches/develbranch_6/db/drivers/postgres

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Jul 22 11:25:39 EDT 2008


Author: neteler
Date: 2008-07-22 11:25:39 -0400 (Tue, 22 Jul 2008)
New Revision: 32212

Modified:
   grass/branches/develbranch_6/db/drivers/postgres/grass-pg.html
Log:
cosmetics (merge from trunk)

Modified: grass/branches/develbranch_6/db/drivers/postgres/grass-pg.html
===================================================================
--- grass/branches/develbranch_6/db/drivers/postgres/grass-pg.html	2008-07-22 15:25:21 UTC (rev 32211)
+++ grass/branches/develbranch_6/db/drivers/postgres/grass-pg.html	2008-07-22 15:25:39 UTC (rev 32212)
@@ -23,8 +23,9 @@
 
 <div class="code"><pre>
 # example for connecting to a PostgreSQL server:
-db.connect driver=pg database="host=myserver.itc.it,dbname=mydb"
-db.login user=myname pass=secret
+db.connect driver=pg database="host=myserver.osgeo.org,dbname=mydb"
+# password is asked interactively if not specified:
+db.login user=myname [pass=secret]
 db.connect -p
 db.tables -p
 </pre></div>



More information about the grass-commit mailing list