<div dir="ltr">So I'm trying to upgrade Postgres and postgis.. My current versions are
 8.3.2 and 1.3 respectively. And trying to upgrade to postgis 2.0.4 and 
Postgres 9.2.4<div><br></div><div>I've been trying a lot of options 
like:hard upgrade of postgis to 1.5.8 in the Postgres 8.3 ( as I'm sure 
that version of postgis is compatible with Postgres 8.3 and 9.2.4)</div>
<div>Then installing postgres 9.2.4 + postgis 1.5.8 and do a pg_upgrade and finally do a hard upgrade of postgis to 2.0.4 in the postgres 9.2.4 installation.
 It  seems to work until an error happened during the pg_upgrade<br><br>Your installation contains the "name" data type in user tables.  This
data type changed its internal alignment between your old and new 
clusters so this cluster cannot currently be upgraded.  You can remove
the problem tables and restart the upgrade.<br></div><div><br></div><div>So I tried another option but I don't know if this will work. Here's my idea:</div><div><br></div><div><br></div><div><br></div><div>Do a custom dump of the DB in Postgres 8.3.2 + pgis 1.3 .</div>

<div><br></div><div>Install 9.2.4 with postgis 2.0.4</div><div>And do a restore with perl script included in the postgis binary folder  (perl utils/<a href="http://postgis_restore.pl">postgis_restore.pl</a>)<br></div><div>
<br></div>do you think it will work?<br><div><div class=""><div id=":6y" class="" tabindex="0"><img class="" src="images/cleardot.gif"></div></div></div></div>