[SCM] PostGIS branch stable-3.5 updated. 3.5.2-10-g1645baa95

git at osgeo.org git at osgeo.org
Tue Feb 25 10:31:26 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, stable-3.5 has been updated
       via  1645baa95634cb42c9bd437074480245713fb9ea (commit)
      from  2627af713bae2b612f4fe0b988ead9bd9803ccf6 (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 1645baa95634cb42c9bd437074480245713fb9ea
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Tue Feb 25 10:31:02 2025 -0800

    Allow build on PostgreSQL 18, closes #5851

diff --git a/postgis/gserialized_estimate.c b/postgis/gserialized_estimate.c
index 76907c858..ec0142be1 100644
--- a/postgis/gserialized_estimate.c
+++ b/postgis/gserialized_estimate.c
@@ -1505,7 +1505,11 @@ compute_gserialized_stats_mode(VacAttrStats *stats, AnalyzeAttrFetchFunc fetchfu
 		notnull_cnt++;
 
 		/* Give backend a chance of interrupting us */
+#if POSTGIS_PGSQL_VERSION >= 180
+		vacuum_delay_point(true);
+#else
 		vacuum_delay_point();
+#endif
 	}
 
 	/*
@@ -1723,7 +1727,11 @@ compute_gserialized_stats_mode(VacAttrStats *stats, AnalyzeAttrFetchFunc fetchfu
 		if ( ! nd_box ) continue; /* Skip Null'ed out hard deviants */
 
 		/* Give backend a chance of interrupting us */
+#if POSTGIS_PGSQL_VERSION >= 180
+		vacuum_delay_point(true);
+#else
 		vacuum_delay_point();
+#endif
 
 		/* Find the cells that overlap with this box and put them into the ND_IBOX */
 		nd_box_overlap(nd_stats, nd_box, &nd_ibox);

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

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


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list