[SCM] PostGIS branch stable-3.5 updated. 3.5.2-39-g131cbc21e

git at osgeo.org git at osgeo.org
Wed May 14 23:45:43 PDT 2025


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.5 has been updated
       via  131cbc21e00b0751d7018543417ea9bd7e6c9c6a (commit)
      from  c70e1691291d6e9245076d73c8d8c50548954fc8 (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 131cbc21e00b0751d7018543417ea9bd7e6c9c6a
Author: Sandro Santilli <strk at kbt.io>
Date:   Thu May 15 08:41:59 2025 +0200

    Do not print "illegal option" when -? is passed
    
    Thanks Giovanni Zezza for the report

diff --git a/NEWS b/NEWS
index 641baac5e..c7c500414 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,7 @@ PostgreSQL 12-18 required. GEOS 3.8+ required. Proj 6.1+ required.
 
 * Bug fixes *
 
+- Do not complain about illegal option when calling shp2pgsql -?
 - #5862, [topology] Prevent another topology corruption with
          TopoGeo_addPoint near almost collinear edges (Sandro Santilli)
 - #5841, Change approach to interrupt handling to conform to PgSQL
diff --git a/loader/shp2pgsql-cli.c b/loader/shp2pgsql-cli.c
index 8703f74c4..3029ff104 100644
--- a/loader/shp2pgsql-cli.c
+++ b/loader/shp2pgsql-cli.c
@@ -105,7 +105,7 @@ main (int argc, char **argv)
 	set_loader_config_defaults(config);
 
 	/* Keep the flag list alphabetic so it's easy to see what's left. */
-	while ((c = pgis_getopt(argc, argv, "-acdeg:ikm:nps:t:wDGIN:ST:W:X:Z")) != EOF)
+	while ((c = pgis_getopt(argc, argv, "-?acdeg:ikm:nps:t:wDGIN:ST:W:X:Z")) != EOF)
 	{
 		// can not do this inside the switch case
 		if ('-' == c)

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

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


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list