Closes #4121
git-svn-id: http://svn.osgeo.org/postgis/trunk@16643
b70326c6-7e19-0410-871a-
916f4a2858ee
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