[SCM] PostGIS branch master updated. 3.5.0-202-gf5048c591

git at osgeo.org git at osgeo.org
Wed Jan 29 13:16:48 PST 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, master has been updated
       via  f5048c591cb2492a6e37a6c969f0aefaff4b55a1 (commit)
      from  2a36696661a000b1bfb775a9c61ff441667a7315 (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 f5048c591cb2492a6e37a6c969f0aefaff4b55a1
Author: Regina Obe <lr at pcorp.us>
Date:   Wed Jan 29 16:08:08 2025 -0500

    Fix windows interrupt
    References #5841 for PostGIS 3.6.0

diff --git a/postgis/postgis_module.c b/postgis/postgis_module.c
index 170588938..8f7bb312e 100644
--- a/postgis/postgis_module.c
+++ b/postgis/postgis_module.c
@@ -48,6 +48,12 @@ PG_MODULE_MAGIC;
 
 static void interrupt_geos_callback()
 {
+#ifdef WIN32
+	if (UNBLOCKED_SIGNAL_QUEUE())
+	{
+		pgwin32_dispatch_queued_signals();
+	}
+#endif
 	/*
 	 * If PgSQL global flags show interrupt,
 	 * flip the pending flag in GEOS
@@ -61,6 +67,12 @@ static void interrupt_geos_callback()
 
 static void interrupt_liblwgeom_callback()
 {
+#ifdef WIN32
+	if (UNBLOCKED_SIGNAL_QUEUE())
+	{
+		pgwin32_dispatch_queued_signals();
+	}
+#endif
 	/*
 	 * If PgSQL global flags show interrupt,
 	 * flip the pending flag in liblwgeom

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

Summary of changes:
 postgis/postgis_module.c | 12 ++++++++++++
 1 file changed, 12 insertions(+)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list