[postgis-users] postgis_restore.pl connection options

Andy Dale andy.dale at gmail.com
Thu Apr 8 05:29:13 PDT 2010


Hi,

I need to perform a hard upgrade of postgis, and from reading the
documentation the way to do this is with the utils/postgis_upgrade.plscript.

The postgres the backup was taken from was an rpm based installation
(postgres 8.1.4, postgis 1.2.1), and I need to restore an instance that was
compiled from source (postgres 8.3.7, postgis 1.3.6)

I have to leave the original instance running while restoring (no
application will be connected to the old instance), and as such the new
instance is on port number 5433, and everything is located in
/usr/local/pgsql.

Is there any way to pass in the connection parameters to the postgis_restore
script ? or must I first export them and run the script ?

Cheers,

Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20100408/fb989079/attachment.html>


More information about the postgis-users mailing list