Changes between Version 10 and Version 11 of HowToMoveFromMySQLToPostgres
- Timestamp:
- 07/13/09 00:34:15 (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
HowToMoveFromMySQLToPostgres
v10 v11 117 117 * Primary key column {{{id}}} gets called {{{ogc_fid}}} in Postgres 118 118 119 The {{{wkb_geometry}}} columns can be fixed using this sql (thanks Thijs Brentjens) :119 The {{{wkb_geometry}}} columns can be fixed (i.e. removed) using this sql (thanks Thijs Brentjens) : 120 120 121 121 {{{ … … 152 152 }}} 153 153 154 TODO how to fix the IDs 155 TODO how to handle Postgres / MySQL on different machines 156 TODO should we change the !GeoNetwork Postgress create-db script to match ogr2ogr's definition ? 157 158 In case the {{{ogr2ogr}}} command above gave you errors related to encodings, you might try this (Thijs Brentjens) : 159 160 {{{ 161 alter database geonetworktest set client_encoding=latin1; 162 }}} 154 163 155 164