<div>I have a PostgreSQL table which goes like shon below. </div>
<div>When I'm querying the my db 'gisdb' with ogrinfo it issues a warning:</div>
<div> </div>
<div>ogrinfo -ro PG:"dbname=gisdb"<br>Warning 1: Multi-column primary key in 'towns' detected but not supported.<br>INFO: Open of `PG:dbname=gisdb'<br> using driver `PostgreSQL' successful.
<br>1: towns (Multi Polygon)</div>
<div> </div>
<div>So the orginfo pretends that there is a "Multi-column primary key" but there is no primary key.</div>
<div> </div>
<div>Someone any explanation on this?</div>
<div> </div>
<div>-- Stefan</div>
<div> </div>
<div>
<div>CREATE TABLE towns<br>( gid serial NOT NULL, objectid int8, towns_id int8, town_id int4, <br> town varchar, fips_stco int4, ccd_mcd varchar, fips_place varchar, <br> pop1980 int4, pop1990 int4, pop2000 int4, popch80_90 int4, popch90_00 int4,
<br> fourcolor int4, "type" varchar, island int4, fips_mcd int4, <br> fips_count int4, shape_area numeric, shape_len numeric, the_geom geometry,<br> CONSTRAINT enforce_geotype_the_geom <br> CHECK (geometrytype(the_geom) = 'MULTIPOLYGON'::text OR the_geom IS NULL),
<br> CONSTRAINT enforce_srid_the_geom CHECK (srid(the_geom) = 26986)<br>) </div>
<div> </div></div>