<div>Thanks Jeremy. I used that and now postgis_restore works to the end. Unfortunately the geom column of my data again appear as a strange string of characters where I expected to see something as POINT, LINE etc. I do not know what else can I do .....
<br><br> </div>
<div><span class="gmail_quote">On 1/20/06, <b class="gmail_sendername">Sears, Jeremy</b> <<a href="mailto:Jeremy.Sears@ccrs.nrcan.gc.ca">Jeremy.Sears@ccrs.nrcan.gc.ca</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><span class="q">
<div><span><font face="Arial" size="2">>>The postgis_restore.pl could create the dump list and also the dump ascii but then gives an error because it does not allow me to write down the password at the next >>step. 
</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div></span>
<div><span><font face="Arial" size="2">I was having a simmilar problem. Each time I'd run postgis_restore.pl It would promt for my password 3 time before bailing, indicating that the password was incorrect. It was pointed out to me that this can be avoided by setting the following environment variables, PGUSER and PGPASSWORD. I also found it useful to specify PGHOST, PGPORT, and PGDATA as well. You can set the env variable at the cmmd prompt like this:
</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">>set PGUSER=username</font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">or you can set the in controlpanel-->system-->advanced--></font></span></div>
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2">hope that helps</font></span></div><span class="sg">
<div><span><font face="Arial" size="2">Jeremy</font></span></div></span>
<div><span class="e" id="q_108e862b8dd0827a_3">
<div><span><font face="Arial" size="2"></font></span> </div>
<div><span><font face="Arial" size="2"></font></span> </div>
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
<div dir="ltr" align="left"><font face="Tahoma" size="2">-----Original Message-----<br><b>From:</b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:postgis-users-bounces@postgis.refractions.net" target="_blank">
postgis-users-bounces@postgis.refractions.net</a> [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:postgis-users-bounces@postgis.refractions.net" target="_blank">postgis-users-bounces@postgis.refractions.net
</a>]<b>On Behalf Of </b>Mario Servin<br><b>Sent:</b> January 20, 2006 10:06 AM<br><b>To:</b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:postgis-users@postgis.refractions.net" target="_blank">postgis-users@postgis.refractions.net
</a><br><b>Subject:</b> [postgis-users] Upgrading from PostgreSQL 8.0 with PostGIS 0.9 to PostgreSQL 8.1 with PostGIS 1.0<br><br></font></div>
<div><font face="Arial" size="2">Hi everybody,</font></div>
<div><font face="Arial" size="2">I failed completely to restore my data from a PostgreSQL 8.0 with PostGIS 0.9 to PostgreSQL 8.1 with PostGIS 1.0. I have both versions of PosgreSQL running in Windows. I follow instructions in PostGIS docs from the PostgreSQL installation for upgrading. The postgis_restore.pl could create the dump list and also the dump ascii but then gives an error because it does not allow me to write down the password at the next step. As I know something about Perl I tried to modify the script without success. 
</font></div>
<div><font face="Arial" size="2">Additionally, I still have the results from the old shp2pgsql and so I tried to insert the data form psql using \i mysqlinsertionscript.sql. Tables are created ok, but geom columns results in meaningless characters where it is supossed to be something like "POINT (- 
66.046532 -21.951437)" for example.</font></div>
<div><font face="Arial" size="2">Can anybody help me?.</font></div>
<div><font face="Arial" size="2">Regards,</font></div>
<div><font face="Arial" size="2">            Mario Servin</font></div></blockquote></span></div><br>_______________________________________________<br>postgis-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:postgis-users@postgis.refractions.net">
postgis-users@postgis.refractions.net</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://postgis.refractions.net/mailman/listinfo/postgis-users" target="_blank">http://postgis.refractions.net/mailman/listinfo/postgis-users
</a><br><br><br></blockquote></div><br>