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

git at osgeo.org git at osgeo.org
Sat Feb 8 22:22:17 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  98ddd8c3a369ea9a2c33fb0e78b45ea90729ba0e (commit)
      from  764e52ba05c07447fe15430c89ba527b39a983cc (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 98ddd8c3a369ea9a2c33fb0e78b45ea90729ba0e
Author: Regina Obe <lr at pcorp.us>
Date:   Sun Feb 9 01:22:10 2020 -0500

    Fix snprintf shp2pgsql pgsql2shp  to expect string. References #4637 for PostGIS 3.0.1

diff --git a/loader/pgsql2shp-cli.c b/loader/pgsql2shp-cli.c
index dfc6f2d..2974cbe 100644
--- a/loader/pgsql2shp-cli.c
+++ b/loader/pgsql2shp-cli.c
@@ -27,7 +27,7 @@ usage(int status)
 {
   /* TODO: if status != 0 print all to stderr */
 
-	printf(_( "RELEASE: %s (r%d)\n" ), POSTGIS_LIB_VERSION, xstr(POSTGIS_REVISION));
+	printf(_( "RELEASE: %s (%s)\n" ), POSTGIS_LIB_VERSION, xstr(POSTGIS_REVISION));
 	printf(_("USAGE: pgsql2shp [<options>] <database> [<schema>.]<table>\n"
 	         "       pgsql2shp [<options>] <database> <query>\n"
 	         "\n"
diff --git a/loader/shp2pgsql-cli.c b/loader/shp2pgsql-cli.c
index 3a09e8c..5eab704 100644
--- a/loader/shp2pgsql-cli.c
+++ b/loader/shp2pgsql-cli.c
@@ -23,7 +23,7 @@
 static void
 usage()
 {
-	printf(_( "RELEASE: %s (r%d)\n" ), POSTGIS_LIB_VERSION, xstr(POSTGIS_REVISION));
+	printf(_( "RELEASE: %s (%s)\n" ), POSTGIS_LIB_VERSION, xstr(POSTGIS_REVISION));
 	printf(_( "USAGE: shp2pgsql [<options>] <shapefile> [[<schema>.]<table>]\n"
 	          "OPTIONS:\n" ));
 	printf(_( "  -s [<from>:]<srid> Set the SRID field. Defaults to %d.\n"

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

Summary of changes:
 loader/pgsql2shp-cli.c | 2 +-
 loader/shp2pgsql-cli.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list