Hello, <br><br>I would like to design a Postgresql / Postgis database that would be the most interoperable as possible.<br>The spatial tables could be used by (Select, Insert, Update, Delete) :<br>- a Web GIS (Mapserver, geoserver, ...)<br>
- commercial clients (Geoconcept, Mapinfo, FME, ESRI)<br>- Opensource clients (QGIS, GvSIG, ...).<br>Great dream Isn't it? ...<br><br>I know that some of these "soft" need to a numeric unique key (Mapserver for example don't deal with character keys...).<br>
I know OID are depreciated.<br><br>I think is would be a good idea to add a unique numeric key to all my tables.<br>What is the best way to do that?<br><br> - Add a SERIAL field (but it is PostgreSQL spécific?).<br> - Add a numeric field explicitely managed by an associated sequence (it does the same but seems more opened?).<br>
<br>So SERIAL or EXPLICIT SEQUENCE?<br><br>Thanks for your responses<br><br>Fabrice<br><br><br> <br><br><br><br>