[SCM] PostGIS branch master updated. 3.7.0alpha1-33-gb9cf4e302
git at osgeo.org
git at osgeo.org
Tue Jul 7 04:26:43 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, master has been updated
via b9cf4e3021a3eb9d17d91d02f17b33d930e35bd8 (commit)
from a5411841bd4b063d4c7ca6e371e14eaae61af85a (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 b9cf4e3021a3eb9d17d91d02f17b33d930e35bd8
Author: Darafei Praliaskouski <me at komzpa.net>
Date: Tue Jul 7 15:18:08 2026 +0400
Avoid ppc64el vector macro in NURBS SQL comments
The ppc64el toolchain can define vector for AltiVec, which makes the SQL preprocessor try to expand bare comment text while building postgis.sql.
Reword the NURBS SQL comments so the preprocessor no longer sees that token.
Closes #6093
Closes https://github.com/postgis/postgis/pull/1159
diff --git a/NEWS b/NEWS
index e3e6a72a6..854ae49f7 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,8 @@ To take advantage of all postgis_sfcgal extension features SFCGAL 2.3+ is needed
* Bug Fixes *
+ - #6093, Fix SQL generation on ppc64el when NURBS comments are
+ preprocessed with AltiVec vector macros (Darafei Praliaskouski)
- #6094, [upgrade] Avoid legacy string literal warnings in downgrade checks
with standard_conforming_strings off (Darafei Praliaskouski)
- GH-898, Fix ST_DFullyWithin indexed plans and large-coordinate
diff --git a/postgis/postgis_nurbs.sql.in b/postgis/postgis_nurbs.sql.in
index 5ff109521..038417dad 100644
--- a/postgis/postgis_nurbs.sql.in
+++ b/postgis/postgis_nurbs.sql.in
@@ -4,9 +4,9 @@
-- degree: Polynomial degree (1-10), higher = smoother
-- control_points: LINESTRING geometry defining curve shape
-- weights: Optional array of positive weights, one per control point (NULL for uniform weights)
--- knots: Optional knot vector defining parameter space (NULL for uniform clamped spacing)
+-- knots: Optional knot sequence defining parameter space (NULL for uniform clamped spacing)
-- Returns: NURBS curve geometry
--- Note: Knot vector must have (npoints + degree + 1) elements and be non-decreasing
+-- Note: Knot sequence must have (npoints + degree + 1) elements and be non-decreasing
-- Examples:
-- SELECT ST_MakeNurbsCurve(2, 'LINESTRING(0 0, 5 10, 10 0)'::geometry);
-- SELECT ST_MakeNurbsCurve(2, 'LINESTRING(0 0, 5 10, 10 0)'::geometry, ARRAY[1.0, 2.0, 1.0]);
@@ -58,7 +58,7 @@ CREATE OR REPLACE FUNCTION ST_Weights(nurbscurve geometry)
COST 25;
-- ST_Knots(nurbscurve)
--- Extracts the knot vector defining parameter space
+-- Extracts the knot sequence defining parameter space
-- Parameters:
-- nurbscurve: Input NURBS curve geometry
-- Returns: Array of knot values, NULL for uniform parameterization
-----------------------------------------------------------------------
Summary of changes:
NEWS | 2 ++
postgis/postgis_nurbs.sql.in | 6 +++---
2 files changed, 5 insertions(+), 3 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list