[postgis-tickets] [SCM] PostGIS branch master updated. 3b80f4832785fe2988670f9d38a6985da2864bc0

git at osgeo.org git at osgeo.org
Wed Jan 1 04:33:14 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, master has been updated
       via  3b80f4832785fe2988670f9d38a6985da2864bc0 (commit)
      from  188651025cd680062ae43a2661b288274bfd2632 (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 3b80f4832785fe2988670f9d38a6985da2864bc0
Author: Sandro Santilli <strk at kbt.io>
Date:   Wed Jan 1 13:32:35 2020 +0100

    Fix switches order for pg_restore
    
    References #4605 in master branch

diff --git a/utils/postgis_restore.pl.in b/utils/postgis_restore.pl.in
index 5dcc694..fdf437a 100644
--- a/utils/postgis_restore.pl.in
+++ b/utils/postgis_restore.pl.in
@@ -145,7 +145,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