[GRASS-SVN] r31905 - in grass/branches/develbranch_6/scripts: v.db.addcol v.db.addtable

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jun 30 16:27:16 EDT 2008


Author: neteler
Date: 2008-06-30 16:27:15 -0400 (Mon, 30 Jun 2008)
New Revision: 31905

Modified:
   grass/branches/develbranch_6/scripts/v.db.addcol/description.html
   grass/branches/develbranch_6/scripts/v.db.addcol/v.db.addcol
   grass/branches/develbranch_6/scripts/v.db.addtable/description.html
   grass/branches/develbranch_6/scripts/v.db.addtable/v.db.addtable
Log:
Changed help messages to adapt the SQL2003 specification (DOUBLE => DOUBLE PRECISION) (merge from trunk)

Modified: grass/branches/develbranch_6/scripts/v.db.addcol/description.html
===================================================================
--- grass/branches/develbranch_6/scripts/v.db.addcol/description.html	2008-06-30 18:43:10 UTC (rev 31904)
+++ grass/branches/develbranch_6/scripts/v.db.addcol/description.html	2008-06-30 20:27:15 UTC (rev 31905)
@@ -1,16 +1,16 @@
 <h2>DESCRIPTION</h2>
 
-<em>v.db.addcol</em> adds one or more column(s) to the attribute table connected
-to a given vector map. It automatically checks the connection for the specified
-layer.
+<em>v.db.addcol</em> adds one or more column(s) to the attribute table
+connected to a given vector map. It automatically checks the connection for the
+specified layer.
 
 <h2>NOTES</h2>
 
 v.db.addcol is a front-end to <em>db.execute</em> to allow easier usage.
 
-The supported types of columns depend on the database backend. However, 
-all backends should support VARCHAR, INT, DOUBLE/REAL and DATE. The default dbf backend
-supports only these types.
+The supported types of columns depend on the database backend. However, all
+backends should support VARCHAR, INT, DOUBLE PRECISION and DATE. The default
+dbf backend supports only these types.
 
 The existing database connection(s) can be verified with <em>v.db.connect</em>.
 

Modified: grass/branches/develbranch_6/scripts/v.db.addcol/v.db.addcol
===================================================================
--- grass/branches/develbranch_6/scripts/v.db.addcol/v.db.addcol	2008-06-30 18:43:10 UTC (rev 31904)
+++ grass/branches/develbranch_6/scripts/v.db.addcol/v.db.addcol	2008-06-30 20:27:15 UTC (rev 31905)
@@ -40,7 +40,7 @@
 #%option
 #% key: columns
 #% type: string
-#% description: Name and type of the new column(s) (types depend on database backend, but all support VARCHAR(), INT, DOUBLE and DATE)
+#% description: Name and type of the new column(s) (types depend on database backend, but all support VARCHAR(), INT, DOUBLE PRECISION and DATE)
 #% required : yes
 #%end
 

Modified: grass/branches/develbranch_6/scripts/v.db.addtable/description.html
===================================================================
--- grass/branches/develbranch_6/scripts/v.db.addtable/description.html	2008-06-30 18:43:10 UTC (rev 31904)
+++ grass/branches/develbranch_6/scripts/v.db.addtable/description.html	2008-06-30 20:27:15 UTC (rev 31905)
@@ -1,17 +1,18 @@
 <h2>DESCRIPTION</h2>
 
-<em>v.db.addtable</em> creates and adds a new attribute table to a given vector map. It 
-links the table to the specified layer of the vector map. If the vector map
-is not yet linked to any table, new a database link is established based
-on the MAPSET database settings (see <em>db.connect</em>).
+<em>v.db.addtable</em> creates and adds a new attribute table to a given vector
+map. It links the table to the specified layer of the vector map. If the vector
+map is not yet linked to any table, new a database link is established based on
+the MAPSET database settings (see <em>db.connect</em>).
 
 <h2>NOTES</h2>
 
-<em>v.db.addtable</em> is a front-end to <em>db.execute</em> to allow easier usage.
+<em>v.db.addtable</em> is a front-end to <em>db.execute</em> to allow easier
+usage.
 
-The supported types of columns depend on the database backend. However, 
-all backends should support VARCHAR, INT, DOUBLE and DATE. The default dbf backend
-supports only these types.
+The supported types of columns depend on the database backend. However, all
+backends should support VARCHAR, INT, DOUBLE PRECISION and DATE. The default
+dbf backend supports only these types.
 
 The existing database connection(s) can be verified with <em>v.db.connect</em>.
 
@@ -19,7 +20,7 @@
 
 Adding a new attribute table with a single column to default layer 1:<br>
 <div class="code"><pre>
-v.db.addtable sentiero_brenta_points columns="slope double"
+v.db.addtable sentiero_brenta_points columns="slope double precision"
 v.db.connect -p sentiero_brenta_points
 v.info -c sentiero_brenta_points
 </pre></div>
@@ -27,7 +28,7 @@
 <p>
 Adding a new attribute table with two columns to layer 2:<br>
 <div class="code"><pre>
-v.db.addtable sentiero_brenta_points columns="slope double,myname varchar(15)" layer=2
+v.db.addtable sentiero_brenta_points columns="slope double precision,myname varchar(15)" layer=2
 v.db.connect -p sentiero_brenta_points
 v.info -c sentiero_brenta_points
 </pre></div>

Modified: grass/branches/develbranch_6/scripts/v.db.addtable/v.db.addtable
===================================================================
--- grass/branches/develbranch_6/scripts/v.db.addtable/v.db.addtable	2008-06-30 18:43:10 UTC (rev 31904)
+++ grass/branches/develbranch_6/scripts/v.db.addtable/v.db.addtable	2008-06-30 20:27:15 UTC (rev 31905)
@@ -41,7 +41,7 @@
 #%option
 #% key: columns
 #% type: string
-#% description: Name and type of the new column(s) (types depend on database backend, but all support VARCHAR(), INT, DOUBLE and DATE)
+#% description: Name and type of the new column(s) (types depend on database backend, but all support VARCHAR(), INT, DOUBLE PRECISION and DATE)
 #% answer: cat integer
 #% required : no
 #% multiple : yes



More information about the grass-commit mailing list