[postgis-tickets] [SCM] PostGIS branch stable-2.5 updated. a8e0c27371aa78c3c3d902cd5876aef0f660ad6b

git at osgeo.org git at osgeo.org
Wed Jan 1 04:35:18 PST 2020


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, stable-2.5 has been updated
       via  a8e0c27371aa78c3c3d902cd5876aef0f660ad6b (commit)
      from  bd3bd15bd212792db08d552c9830638490dba28c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit a8e0c27371aa78c3c3d902cd5876aef0f660ad6b
Author: Sandro Santilli <strk at kbt.io>
Date:   Wed Jan 1 13:32:35 2020 +0100

    Fix switches order for pg_restore
    
    Closes #4605 again in 2.5 branch

diff --git a/utils/postgis_restore.pl.in b/utils/postgis_restore.pl.in
index f7fb551..2ae6b47 100644
--- a/utils/postgis_restore.pl.in
+++ b/utils/postgis_restore.pl.in
@@ -143,7 +143,7 @@ close(DUMP) || die "$me: pg_restore returned an error\n";
 # unwanted bits.
 #
 print STDERR "  Writing ASCII to stdout...\n";
-open( INPUT, "pg_restore -L $manifest $dumpfile -f - |") || die "$me:\tCan't run pg_restore\n";
+open( INPUT, "pg_restore -f - -L $manifest $dumpfile |") || die "$me:\tCan't run pg_restore\n";
 
 if ( defined $POSTGIS_SCHEMA ) {
   print STDOUT "SET search_path = \"" . $POSTGIS_SCHEMA . "\";\n";

-----------------------------------------------------------------------

Summary of changes:
 utils/postgis_restore.pl.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list