[GRASS-SVN] r53170 - grass/trunk/db/drivers/postgres

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Sep 12 06:17:15 PDT 2012


Author: neteler
Date: 2012-09-12 06:17:13 -0700 (Wed, 12 Sep 2012)
New Revision: 53170

Modified:
   grass/trunk/db/drivers/postgres/grass-pg.html
Log:
SQL typo fix; order cosmetics

Modified: grass/trunk/db/drivers/postgres/grass-pg.html
===================================================================
--- grass/trunk/db/drivers/postgres/grass-pg.html	2012-09-12 12:44:41 UTC (rev 53169)
+++ grass/trunk/db/drivers/postgres/grass-pg.html	2012-09-12 13:17:13 UTC (rev 53170)
@@ -52,7 +52,7 @@
 <div class="code"><pre>
 db.execute sql="ALTER TABLE mytable ADD ID integer"
 db.execute sql="CREATE SEQUENCE mytable_seq"
-db.execute sql="UPDATE mytabe SET ID = nextval('mytable_seq')"
+db.execute sql="UPDATE mytable SET ID = nextval('mytable_seq')"
 db.execute sql="DROP SEQUENCE mytable_seq"
 </pre></div>
 
@@ -123,15 +123,6 @@
 </li>
 </ul>
 
-<h2>REFERENCES</h2>
-
-<ul>
-<li><a href="http://www.postgresql.org/">PostgreSQL web site</a></li>
-<li><a href="http://www.pgadmin.org/">pgAdmin graphical user interface</a></li>
-<li><a href="http://www.gdal.org/ogr/drv_pg.html">GDAL/OGR PostgreSQL
-driver documentation</a></li>
-</ul>
-
 <h2>SEE ALSO</h2>
 
 <em>
@@ -144,6 +135,15 @@
 <a href="database.html">Help pages for database modules</a><br>
 <a href="sql.html">SQL support in GRASS GIS</a><br>
 
+<h2>REFERENCES</h2>
+
+<ul>
+<li><a href="http://www.postgresql.org/">PostgreSQL web site</a></li>
+<li><a href="http://www.pgadmin.org/">pgAdmin graphical user interface</a></li>
+<li><a href="http://www.gdal.org/ogr/drv_pg.html">GDAL/OGR PostgreSQL
+driver documentation</a></li>
+</ul>
+
 <p>
 <i>Last changed: $Date$</i>
 <hr>



More information about the grass-commit mailing list