[postgis-tickets] [SCM] PostGIS branch master updated. 3.2.0alpha1-50-gb02b7bf

git at osgeo.org git at osgeo.org
Wed Oct 6 13:04:33 PDT 2021


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  b02b7bf7b64337665e2e824d15e71f2d2c02734e (commit)
      from  32dd1e743aaabaf886ea631c757626036d62189f (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 b02b7bf7b64337665e2e824d15e71f2d2c02734e
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Wed Oct 6 12:42:59 2021 -0700

    Turn off windowing support in ST_AsMVT

diff --git a/postgis/mvt.c b/postgis/mvt.c
index 4259aba..f128e6c 100644
--- a/postgis/mvt.c
+++ b/postgis/mvt.c
@@ -1069,8 +1069,8 @@ static VectorTile__Tile * mvt_ctx_to_tile(mvt_agg_context *ctx)
 
 static bytea *mvt_ctx_to_bytea(mvt_agg_context *ctx)
 {
-	/* Fill out the file slot, if it's not already filled. */
-	/* We should only have a filled slow when all the work of building */
+	/* Fill out the tile slot, if it's not already filled. */
+	/* We should only have a filled slot when all the work of building */
 	/* out the data is complete, so after a serialize/deserialize cycle */
 	/* or after a context combine */
 	size_t len;
diff --git a/postgis/postgis.sql.in b/postgis/postgis.sql.in
index ce2b4fc..e7887a2 100644
--- a/postgis/postgis.sql.in
+++ b/postgis/postgis.sql.in
@@ -4871,7 +4871,7 @@ CREATE OR REPLACE FUNCTION pgis_asmvt_deserialfn(bytea, internal)
 	_COST_MEDIUM;
 
 -- Availability: 2.4.0
--- Changed: 2.5.0
+-- Changed: 3.2.0
 CREATE AGGREGATE ST_AsMVT(anyelement)
 (
 	sfunc = pgis_asmvt_transfn,
@@ -4881,10 +4881,13 @@ CREATE AGGREGATE ST_AsMVT(anyelement)
 	deserialfunc = pgis_asmvt_deserialfn,
 	combinefunc = pgis_asmvt_combinefn,
 	finalfunc = pgis_asmvt_finalfn
+#if POSTGIS_PGSQL_VERSION >= 110
+	,finalfunc_modify = read_write
+#endif
 );
 
 -- Availability: 2.4.0
--- Changed: 2.5.0
+-- Changed: 3.2.0
 CREATE AGGREGATE ST_AsMVT(anyelement, text)
 (
 	sfunc = pgis_asmvt_transfn,
@@ -4894,10 +4897,13 @@ CREATE AGGREGATE ST_AsMVT(anyelement, text)
 	deserialfunc = pgis_asmvt_deserialfn,
 	combinefunc = pgis_asmvt_combinefn,
 	finalfunc = pgis_asmvt_finalfn
+#if POSTGIS_PGSQL_VERSION >= 110
+	,finalfunc_modify = read_write
+#endif
 );
 
 -- Availability: 2.4.0
--- Changed: 2.5.0
+-- Changed: 3.2.0
 CREATE AGGREGATE ST_AsMVT(anyelement, text, int4)
 (
 	sfunc = pgis_asmvt_transfn,
@@ -4907,10 +4913,13 @@ CREATE AGGREGATE ST_AsMVT(anyelement, text, int4)
 	deserialfunc = pgis_asmvt_deserialfn,
 	combinefunc = pgis_asmvt_combinefn,
 	finalfunc = pgis_asmvt_finalfn
+#if POSTGIS_PGSQL_VERSION >= 110
+	,finalfunc_modify = read_write
+#endif
 );
 
 -- Availability: 2.4.0
--- Changed: 2.5.0
+-- Changed: 3.2.0
 CREATE AGGREGATE ST_AsMVT(anyelement, text, int4, text)
 (
 	sfunc = pgis_asmvt_transfn,
@@ -4920,10 +4929,13 @@ CREATE AGGREGATE ST_AsMVT(anyelement, text, int4, text)
 	deserialfunc = pgis_asmvt_deserialfn,
 	combinefunc = pgis_asmvt_combinefn,
 	finalfunc = pgis_asmvt_finalfn
+#if POSTGIS_PGSQL_VERSION >= 110
+	,finalfunc_modify = read_write
+#endif
 );
 
 -- Availability: 3.0.0
--- Changed: 3.0.0
+-- Changed: 3.2.0
 CREATE AGGREGATE ST_AsMVT(anyelement, text, int4, text, text)
 (
 	sfunc = pgis_asmvt_transfn,
@@ -4933,6 +4945,9 @@ CREATE AGGREGATE ST_AsMVT(anyelement, text, int4, text, text)
 	deserialfunc = pgis_asmvt_deserialfn,
 	combinefunc = pgis_asmvt_combinefn,
 	finalfunc = pgis_asmvt_finalfn
+#if POSTGIS_PGSQL_VERSION >= 110
+	,finalfunc_modify = read_write
+#endif
 );
 
 -- Availability: 2.4.0

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

Summary of changes:
 postgis/mvt.c          |  4 ++--
 postgis/postgis.sql.in | 25 ++++++++++++++++++++-----
 2 files changed, 22 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list