Sorry about the mess on brazil_tiled(2). I've tried with the correct tables in my scripts. <br><br>The schema <span style="font-family: courier new,monospace;">gis_test </span>does exist. There are no other error messages. I'm using the
<span style="font-style: italic;">pgAdmin Query Tool </span>and looked for other error messages in all output tabs.<br><br>Prior to my first email I'd tried to execute only the statement bellow without success:<br><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"><span style="background-color: rgb(255, 204, 204);">SELECT AddGeometryColumn('gis_test','brazil_tiled','the_geom','-1','MULTIPOLYGON',2);</span><br style="background-color: rgb(255, 204, 204);">
<br></span>But the error message is the one I've posted, too generic to give at least a hint about the error.<br><br>The first lines of the generated script I'm trying to execute are:<br><br><span style="font-family: courier new,monospace; background-color: rgb(255, 204, 204);">
BEGIN;</span><br style="font-family: courier new,monospace; background-color: rgb(255, 204, 204);"><span style="font-family: courier new,monospace; background-color: rgb(255, 204, 204);">CREATE TABLE "gis_test"."brazil_tiled2" (gid serial PRIMARY KEY,
</span><br style="font-family: courier new,monospace; background-color: rgb(255, 204, 204);"><span style="font-family: courier new,monospace; background-color: rgb(255, 204, 204);">"location" varchar(255));</span>
<br style="font-family: courier new,monospace; background-color: rgb(255, 204, 204);"><span style="font-family: courier new,monospace; background-color: rgb(255, 204, 204);">SELECT AddGeometryColumn('gis_test','brazil_tiled2','the_geom','-1','MULTIPOLYGON',2);
</span><br style="font-family: courier new,monospace; background-color: rgb(255, 204, 204);"><span style="font-family: courier new,monospace;"><span style="background-color: rgb(255, 204, 204);">INSERT INTO "gis_test"."brazil_tiled2" ("location",the_geom) VALUES ('
NA-19-X-C.tif','01060000000100000001030000000100000005000000007082D2064051C00000321126FF074000705BD206E050C00000321126FF074000705BD206E050C00000E41B4CFEFF3F007082D2064051C00000E41B4CFEFF3F007082D2064051C00000321126FF0740');
</span><br style="background-color: rgb(255, 204, 204);"><br></span>I've tried without the BEGIN|END transaction statements, without the create table (as I created the table myself), only the <span style="font-family: courier new,monospace; background-color: rgb(255, 255, 255);">
select AddGeometryColumn</span><span style="background-color: rgb(255, 255, 255);">, etc. All with the same error messages.<br><br>Any Hints?<br style="font-family: courier new,monospace;"></span><span style="font-family: courier new,monospace;">
</span><br><span style="font-family: courier new,monospace;"></span><br><div><span class="gmail_quote">On 8/21/06, <b class="gmail_sendername">Michael Fuhr</b> <<a href="mailto:mike@fuhr.org">mike@fuhr.org</a>> wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Mon, Aug 21, 2006 at 03:43:21PM -0300, Bruno Patini Furtado wrote:<br>> I've just installed PostgreSQL
8.1.4 without the GIS extensions and after<br>> that installed the postgis-pg81-setup-1.1.3-1.exe from<br>> <a href="http://postgis.refractions.net/download/windows/">http://postgis.refractions.net/download/windows/
</a>. ]<br>><br>> Everything went fine but when I try to run the SQL statements generated by<br>> the shp2pgsql program, the error message "ERROR: current transaction is<br>> aborted, commands ignored until end of transaction block" is reported.
<br><br>Some previous command failed; no subsequent commands will be allowed<br>until the transaction is rolled back. What error messages do you see<br>prior to the one shown above? Whatever earlier command is failing is
<br>the one that needs attention.<br><br>> I've tried to run only the create table statement, but the same error<br>> message was reported.<br>> So I've changed:<br>> CREATE TABLE "gis_test"."brazil_tiled2" (gid serial PRIMARY KEY,
<br>> "location" varchar(255));<br>> To:<br>> CREATE TABLE gis_test.brazil_tiled<br><br>Which name is it supposed to be -- brazil_tiled or brazil_tiled2?<br>Does the schema gis_test exist?<br><br>--<br>
Michael Fuhr<br>_______________________________________________<br>postgis-users mailing list<br><a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br><a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">
http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br></blockquote></div><br><br clear="all"><br>-- <br>"Minds are like parachutes, they work best when open."<br><br>Bruno Patini Furtado<br>Software Developer
<br>webpage: <a href="http://bpfurtado.net">http://bpfurtado.net</a><br>software development blog: <a href="http://bpfurtado.livejournal.com">http://bpfurtado.livejournal.com</a>