[gdal-dev] problem in PostgreSQL layer

ahmet temiz ahmettemiz88 at gmail.com
Sun Aug 15 15:17:01 EDT 2010


hello

I am trying to build a java application.

I received this error message:

ERROR 1: AddGeometryColumn failed for layer postlayer12, layer
creation has failed.

when I changed,

String name="PG:dbname='bzk2' host='localhost' port='5432'
user='postgres' password='222222'";    //super user
DataSource dspost2 = drvpost.CreateDataSource(name);

It worked:

Do I have to be superuser to build postgres layer ?

regards


More information about the gdal-dev mailing list