[postgis-tickets] [SCM] PostGIS branch stable-3.0 updated. f1795b5404e67630056e05697b9a6eb2ebb94290

git at osgeo.org git at osgeo.org
Wed Jan 1 04:33:52 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-3.0 has been updated
       via  f1795b5404e67630056e05697b9a6eb2ebb94290 (commit)
      from  75d0d13258a85da2944ad45ca1ae27ca129906a2 (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 f1795b5404e67630056e05697b9a6eb2ebb94290
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 3.0 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