[SCM] PostGIS branch stable-3.3 updated. 3.3.10-79-g606913676
git at osgeo.org
git at osgeo.org
Mon Jul 20 01:32:32 PDT 2026
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.3 has been updated
via 6069136765e62fbe648e687c85da2bef9cf7e7e5 (commit)
via d1fa623eb6409066f9a474c6a2507200b417b048 (commit)
from 1d4f128ad9806313095157a11a593d2bbce535c1 (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 6069136765e62fbe648e687c85da2bef9cf7e7e5
Merge: 1d4f128ad d1fa623eb
Author: Darafei Praliaskouski <komzpa at gmail.com>
Date: Mon Jul 20 01:32:31 2026 -0700
Merge pull request 'Fix stable 3.3 builds with PostgreSQL 18' (#468)
Fix stable 3.3 builds with PostgreSQL 18
commit d1fa623eb6409066f9a474c6a2507200b417b048
Author: Darafei Praliaskouski <me at komzpa.net>
Date: Mon Jul 20 11:07:14 2026 +0400
Fix PG18 vacuum delay API compatibility
diff --git a/postgis/gserialized_estimate.c b/postgis/gserialized_estimate.c
index 30193325b..c78086163 100644
--- a/postgis/gserialized_estimate.c
+++ b/postgis/gserialized_estimate.c
@@ -1514,7 +1514,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
}
/*
@@ -1732,7 +1736,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