]> granicus.if.org Git - postgis/commitdiff
Sync column names in example.
authorDarafei Praliaskouski <me@komzpa.net>
Fri, 13 Jul 2018 21:20:00 +0000 (21:20 +0000)
committerDarafei Praliaskouski <me@komzpa.net>
Fri, 13 Jul 2018 21:20:00 +0000 (21:20 +0000)
Closes #4121

git-svn-id: http://svn.osgeo.org/postgis/trunk@16643 b70326c6-7e19-0410-871a-916f4a2858ee

doc/faq.xml

index 4b66f1a7d1be1ddc7593c78aa6ae495422b0dec2..0db220c099789149ade47679c3f34d57a5cc2eae 100644 (file)
@@ -156,8 +156,7 @@ SELECT MAX(ST_NPoints(geom)) FROM sometable;</programlisting>
                For geometry: Connect to your database with
         <filename>psql</filename> and try the following SQL:</para>
 
-        <programlisting>CREATE TABLE gtest ( gid serial primary key, name varchar(20)
-        , geom geometry(LINESTRING) );</programlisting>
+        <programlisting>CREATE TABLE gtest (id serial primary key, name varchar(20), geom geometry(LINESTRING));</programlisting>
 
         <para>If the geometry column definition fails, you probably have not
         loaded the PostGIS functions and objects into this database or are using a pre-2.0 version of PostGIS. See the