[GRASSLIST:2295] Re: output shapefiles - options?

Radim Blazek blazek at itc.it
Tue Jan 20 11:27:36 EST 2004


You are right, 
'char' did not work, because postgres returns internal code of 'bpchar' 
for 'char' columns. I have fixed that.

Radim

On Tuesday 20 January 2004 11:27, you wrote:
> Hi all,
>
> OK - i didn't experiment enough with data types. I was using:
> > alter table tmp add sm_name char(50);
>
> which gave:
> > GRASS 5.7.-cvs:~ > v.db.connect -c map=tmp
> > WARNING: pg driver: column 'sm_name2', type 0 is not supported
>
> If I use:
> > alter table tmp add sm_name varchar(50);
>
> then the pg driver works fine.
>
> Apologies,
> David
>
> On 19 Jan 2004, at 17:25, Radim Blazek wrote:
> > Which type pricesely? 'char' should be supported.
> >
> > Radim




More information about the grass-user mailing list