[SCM] PostGIS branch master updated. 3.5.0-213-ga5e29aa33
git at osgeo.org
git at osgeo.org
Sun Mar 2 18:49:23 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 a5e29aa336a932f2ffa641aba89b1a99921dca5f (commit)
from ae7be624b433fff989ccf9e0ff129892c535e4ae (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 a5e29aa336a932f2ffa641aba89b1a99921dca5f
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Tue Feb 25 10:31:02 2025 -0800
Allow build on PostgreSQL 18, closes #5851
for PostGIS 3.6.0 master
diff --git a/postgis/gserialized_estimate.c b/postgis/gserialized_estimate.c
index 29e2620a1..e888dcb83 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