[GRASS5] [bug #3184] (grass) db.execute: create, add: catch
names too long
Hamish
hamish_nospam at yahoo.com
Mon Apr 25 20:43:03 EDT 2005
> this bug's URL: http://intevation.de/rt/webrt?serial_num=3184
> ---------------------------------------------------------------------
>
> $ echo 'create table zz (cat int, axis int, contour int, \
> x double, y double, segmentlength double, linelength
> double)'|db.execute
> This should be caught that segmentlength is too long a name, and exit
> $?=1.
That is it is too long for the DBF driver, as DBF column names may only
be 10 chars, as documented in the GRASS SQL help page. Other DBs may be
fine with it(?).
Hamish
More information about the grass-dev
mailing list