[postgis-users] can postgis_restore.pl Create OR Replace function?
Gold, Jack L (US SSA)
jack.gold at baesystems.com
Wed Apr 10 08:40:40 PDT 2013
Changes to my own functions. The problem is my function signatures haven't changed, but some of the functionality has. If the script is expecting an empty DB, I can manage to handle that. Thanks.
--Jack
-----Original Message-----
From: postgis-users-bounces at lists.osgeo.org [mailto:postgis-users-bounces at lists.osgeo.org] On Behalf Of Sandro Santilli
Sent: Wednesday, April 10, 2013 11:28 AM
To: PostGIS Users Discussion
Subject: Re: [postgis-users] can postgis_restore.pl Create OR Replace function?
On Wed, Apr 10, 2013 at 01:40:40PM +0000, Gold, Jack L (US SSA) wrote:
> I'm trying to restore a dumped database that has changes to functions and tables in it but I keep getting "function already exists" messages. Is it possible to get postgis_restore.pl to conduct a "Create OR Replace" instead of just "CREATE"?
You mean it has changes to PostGIS functions and tables ?
Or to your own ?
The script is expected to find the destination database only filled with a new version of PostGIS, and nothing else.
--strk;
http://www.cartodb.com - Map, analyze and build applications with your data
~~ http://strk.keybit.net
_______________________________________________
postgis-users mailing list
postgis-users at lists.osgeo.org
http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
More information about the postgis-users
mailing list