[udig-devel] Can't add a string attribute

Hugh Jennings hugh at photosat.ca
Wed Nov 21 11:01:52 PST 2007


Hi,

I am trialling uDig with posgis and I am encountering a small problem.

I can not create a new feature type with any attribute as a string.

The error messaage I get is:

ERROR:  length for type varchar cannot exceed 10485760
STATEMENT:  CREATE TABLE "public"."udig_test" ("udig_test_fid" serial 
PRIMARY KE
Y, "name" VARCHAR(2147483647), "geometry" GEOMETRY)

ERROR:  length for type varchar cannot exceed 10485760
STATEMENT:  CREATE TABLE "public"."test_poly" ("test_poly_fid" serial 
PRIMARY KE
Y, "county" VARCHAR(2147483647), "geometry" GEOMETRY)

Also is there any way to have the primary key not be a string?

Any help would be appreciated.

Thanks,

Hugh



More information about the udig-devel mailing list