<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1479" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm trying to update postgis from 0.9 to the
lastest cvs.</FONT></DIV>
<DIV><FONT face=Arial size=2>If I use the postgis_restore.pl procedure it
returns me the following error:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>pg_restore: [archiver] unsupported version (1.10)
in file header</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm updating also from postgres-beta5 to
postgres-RC1</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>It seems that pg_restore command doesn't
work.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The procedure is the following</FONT></DIV>
<DIV><FONT face=Arial size=2>pg_dump -Fc mydb >mydb.dump</FONT></DIV>
<DIV><FONT face=Arial size=2>postgis_restore lwpostgis.sql mydb2
mydb.dump</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>and after few seconds</FONT></DIV>
<DIV><FONT face=Arial size=2>...</FONT></DIV>
<DIV><FONT face=Arial size=2>...</FONT></DIV>
<DIV><FONT face=Arial size=2>...</FONT></DIV>
<DIV><FONT face=Arial size=2>SQLFUNC: buffer(geometry, double
precision)<BR>SQLFUNC: buffer(geometry, double precision, integer)<BR>SQLFUNC:
convexhull(geometry)<BR>SQLFUNC: difference(geometry, geometry)<BR>SQLFUNC:
boundary(geometry)<BR>SQLFUNC: symdifference(geometry, geometry)<BR>SQLFUNC:
symmetricdifference(geometry, geometry)<BR>SQLFUNC: geomunion(geometry,
geometry)<BR>SQLAGG memgeomunion(geometry)<BR>SQLFUNC:
unite_garray(geometry[])<BR>SQLAGG geomunion(geometry)<BR>SQLFUNC:
relate(geometry, geometry)<BR>SQLFUNC: relate(geometry, geometry,
text)<BR>SQLFUNC: disjoint(geometry, geometry)<BR>SQLFUNC: touches(geometry,
geometry)<BR>SQLFUNC: intersects(geometry, geometry)<BR>SQLFUNC:
crosses(geometry, geometry)<BR>SQLFUNC: within(geometry, geometry)<BR>SQLFUNC:
contains(geometry, geometry)<BR>SQLFUNC: overlaps(geometry,
geometry)<BR>SQLFUNC: isvalid(geometry)<BR>SQLFUNC:
geosnoop(geometry)<BR>SQLFUNC: centroid(geometry)<BR>SQLFUNC:
isring(geometry)<BR>SQLFUNC: pointonsurface(geometry)<BR>SQLFUNC:
issimple(geometry)<BR>SQLFUNC: equals(geometry, geometry)<BR>SQLFUNC:
assvg(geometry, integer, integer)<BR>SQLFUNC: assvg(geometry,
integer)<BR>SQLFUNC: assvg(geometry)<BR>SQLFUNC: asgml(geometry, integer,
integer)<BR>SQLFUNC: asgml(geometry, integer)<BR>SQLFUNC:
asgml(geometry)<BR>Scanning crs.dump list<BR>pg_restore: [archiver] unsupported
version (1.10) in file header<BR>Producing ascii dump
crs.dump.ascii<BR>pg_restore: [archiver] unsupported version (1.10) in file
header<BR>Creating db (crs)<BR>Adding plpgsql<BR>Can't run psql<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Thanks in advance.</FONT></DIV>
<DIV><FONT face=Arial size=2>RedS</DIV></FONT></BODY></HTML>