[GRASSweb-list]markus: web/grass51/tutorial attrib_storage.html,1.3,1.4

grass at intevation.de grass at intevation.de
Wed Jan 15 12:04:21 EST 2003


Author: markus

Update of /grassrepository/web/grass51/tutorial
In directory doto:/tmp/cvs-serv8466

Modified Files:
	attrib_storage.html 
Log Message:
PostgreSQL enhanced

Index: attrib_storage.html
===================================================================
RCS file: /grassrepository/web/grass51/tutorial/attrib_storage.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- attrib_storage.html	2 Jan 2003 16:35:55 -0000	1.3
+++ attrib_storage.html	15 Jan 2003 17:04:19 -0000	1.4
@@ -336,13 +336,15 @@
 markveggy.shp 1 markveggy VEGCNP_ID grass51test pg
 </div></pre>
 
-Connect GRASS 5.1 to the table:
+Connect GRASS 5.1 to the table (on machine 'pgserver' runs PostgreSQL):
 <div class="code"><pre>
-db.connect driver=pg database=grass51test
+db.connect driver=pg database="host=pgserver,dbname=grass51test,user=neteler"
 db.tables -p
 db.describe -c markveggy
 </div></pre>
 
+If a password is required, a dialog will ask you (or you supply
+'password=secretword').
 This should print name and columns of the table 'markveggy' which is stored
 as PostgreSQL table.
 
@@ -368,7 +370,7 @@
 Example: Connection of SHAPE file with attributes in mySQL database table
 directly connected to GRASS 5.1.<p>
 
-TODO.
+TODO (will be similar to PostgreSQL).
 
 <p><table width="100%" cellpadding="3" border="0">
 <tr><td align="left" bgcolor="#B0F0B0"><font color="#00000"><big><b>





More information about the grass-web mailing list