[GRASSLIST:1795] Re: db.copy

Markus Neteler neteler at itc.it
Tue Nov 18 07:17:27 EST 2003


On Mon, Nov 17, 2003 at 07:49:44PM +0100, Radim Blazek wrote:
> On Monday 17 November 2003 16:19, Miha STAUT wrote:
> > Hi,
> >
> > Why is the following command wrong? The opposite way works without problem.
> >
> > GRASS 5.7.0-cvs:/home/ines > db.copy from_driver=pg
> > from_database=dbname=nuts\
> > from_table=dejanja to_driver=dbf to_database=./ to_table=dej
> > dbmi: Protocol error
> > WARNING: Cannot create new table: 'create table dej ( ks_ime_d varchar(-5),

varchar(-5) doesn't look good. Maybe the original column is of 'text'
type (is/was unsupported, varchar should be used)?

Markus




More information about the grass-user mailing list