[postgis-users] AddGeometryColumn problem
Bruno Patini Furtado
bpfurtado at gmail.com
Mon Aug 21 14:22:43 PDT 2006
Sorry about the mess on brazil_tiled(2). I've tried with the correct tables
in my scripts.
The schema gis_test does exist. There are no other error messages. I'm using
the pgAdmin Query Tool and looked for other error messages in all output
Prior to my first email I'd tried to execute only the statement bellow
But the error message is the one I've posted, too generic to give at least a
hint about the error.
The first lines of the generated script I'm trying to execute are:
CREATE TABLE "gis_test"."brazil_tiled2" (gid serial PRIMARY KEY,
INSERT INTO "gis_test"."brazil_tiled2" ("location",the_geom) VALUES ('
I've tried without the BEGIN|END transaction statements, without the create
table (as I created the table myself), only the select AddGeometryColumn,
etc. All with the same error messages.
On 8/21/06, Michael Fuhr <mike at fuhr.org> wrote:
> On Mon, Aug 21, 2006 at 03:43:21PM -0300, Bruno Patini Furtado wrote:
> > I've just installed PostgreSQL 8.1.4 without the GIS extensions and
> > that installed the postgis-pg81-setup-1.1.3-1.exe from
> > http://postgis.refractions.net/download/windows/. ]
> > Everything went fine but when I try to run the SQL statements generated
> > the shp2pgsql program, the error message "ERROR: current transaction is
> > aborted, commands ignored until end of transaction block" is reported.
> Some previous command failed; no subsequent commands will be allowed
> until the transaction is rolled back. What error messages do you see
> prior to the one shown above? Whatever earlier command is failing is
> the one that needs attention.
> > I've tried to run only the create table statement, but the same error
> > message was reported.
> > So I've changed:
> > CREATE TABLE "gis_test"."brazil_tiled2" (gid serial PRIMARY KEY,
> > "location" varchar(255));
> > To:
> > CREATE TABLE gis_test.brazil_tiled
> Which name is it supposed to be -- brazil_tiled or brazil_tiled2?
> Does the schema gis_test exist?
> Michael Fuhr
> postgis-users mailing list
> postgis-users at postgis.refractions.net
"Minds are like parachutes, they work best when open."
Bruno Patini Furtado
software development blog: http://bpfurtado.livejournal.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the postgis-users