[GRASS-dev] [GRASS GIS] #3093: v.in.ogr: shapefile with Date/NULL-field prevents creation of db-table

GRASS GIS trac at osgeo.org
Fri Jul 8 13:36:32 PDT 2016


#3093: v.in.ogr: shapefile with Date/NULL-field prevents creation of db-table
--------------------------+----------------------------
  Reporter:  Melwin       |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  7.0.5
 Component:  Vector       |    Version:  7.0.3
Resolution:               |   Keywords:  v.in.ogr, sql,
       CPU:  Unspecified  |   Platform:  MSWindows 7
--------------------------+----------------------------
Changes (by martinl):

 * keywords:   => v.in.ogr, sql,
 * component:  Database => Vector


Comment:

 Date is reserved SQL word. It cannot be used for column name. You can
 rename this column using `columns` options (whole list of columns must be
 defined). The module could be of course more cleaver and rename such
 column automatically eg. to `Date_`.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3093#comment:1>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list