[PATCH] using external TOC in postgis_restore.pl

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[PATCH] using external TOC in postgis_restore.pl

Christoph Moench-Tegeder
Hi,

while upgrading a cusotmer's PostGIS installation, $SUBJECT was
found to be very helpful - filtering in pg_dump is much less
powerful than editing the dump's TOC and feeding that into
postgis_restore.
Attached patch adds the -L option (analogous to pg_restore) to
postgis_restore.pl, which makes postgis_restore use the provided
TOC instead of reading it via pg_restore -l.
It's rather trivial, so without further ado: here it is.

Regards,
Christoph

--
Spare Space

_______________________________________________
postgis-devel mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/postgis-devel

patch-utils__postgis_restore.pl.in (1K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [PATCH] using external TOC in postgis_restore.pl

Sandro Santilli-2
On Sun, May 15, 2016 at 05:15:05PM +0200, Christoph Moench-Tegeder wrote:

> Attached patch adds the -L option (analogous to pg_restore) to
> postgis_restore.pl, which makes postgis_restore use the provided
> TOC instead of reading it via pg_restore -l.

Thanks Christoph, committed to trunk with r14911

--strk;
_______________________________________________
postgis-devel mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/postgis-devel