[SCM] PostGIS branch stable-3.4 updated. 3.4.4-21-g8aac1dbcb

git at osgeo.org git at osgeo.org
Wed May 14 23:47:18 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.4 has been updated
       via  8aac1dbcbbec0ca75a4ff2ba4178146b812ce957 (commit)
      from  6b92db82a58158af9d92d96b5eefd55a59aa1377 (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 8aac1dbcbbec0ca75a4ff2ba4178146b812ce957
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 6988b74cc..9de7c7602 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,7 @@ Proj 6.1+ required.
 
 * Bug Fixes *
 
+  - Do not complain about illegal option when calling shp2pgsql -?
   - #5564, BRIN crash fix and support for parallel in PG17+
           (Paul Ramsey, Regina Obe)
   - #5876, Fix ST_AddPoint with empty point argument
diff --git a/loader/shp2pgsql-cli.c b/loader/shp2pgsql-cli.c
index 209c0745d..546a30d2c 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