[postgis-tickets] [SCM] PostGIS branch stable-3.1 updated. 3.1.3-30-gded6c34

git at osgeo.org git at osgeo.org
Fri Sep 3 21:15:46 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, stable-3.1 has been updated
       via  ded6c340501289255ad0aca03bb34ff185de0bd8 (commit)
      from  ff338b8fd6968edee2f5fa721a8d85cf539a402c (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 ded6c340501289255ad0aca03bb34ff185de0bd8
Author: Regina Obe <lr at pcorp.us>
Date:   Sat Sep 4 00:15:38 2021 -0400

    Move geobuf tests from tickets to geobuf so doesn't fail on systems that don't have mvt/geobuf installed

diff --git a/regress/core/geobuf.sql b/regress/core/geobuf.sql
index 8bc9332..cd5b35c 100644
--- a/regress/core/geobuf.sql
+++ b/regress/core/geobuf.sql
@@ -28,3 +28,11 @@ WITH geom AS (
 	SELECT 'TRIANGLE EMPTY'::geometry geom
 )
 select '#4399', 'ST_AsGeobuf', ST_AsGeobuf(geom.*)::text from geom;
+
+SELECT '#4916.a', ST_AsGeobuf(NULL::pg_class, 'g') over (order by b)
+FROM (VALUES ('POINT(0 0)'::geometry, 'A0006', 300),
+           ('POINT(1 1)'::geometry, 'A0006', 302)) t(g, a, b);
+
+SELECT '#4916.b', ST_AsGeobuf(NULL::pg_class) over (order by b)
+FROM (VALUES ('POINT(0 0)'::geometry, 'A0006', 300),
+           ('POINT(1 1)'::geometry, 'A0006', 302)) t(g, a, b);
diff --git a/regress/core/geobuf_expected b/regress/core/geobuf_expected
index e6c7e72..e8968bc 100644
--- a/regress/core/geobuf_expected
+++ b/regress/core/geobuf_expected
@@ -11,3 +11,7 @@ T8|GAAiGAoWChQIBiIGCAAaAggMIggIAhoECAwGCA==
 T9|EAMYACILCgkKBwgAGgMCBAY=
 T10|EAMYACILCgkKBwgAGgMCBAY=
 #4399|ST_AsGeobuf|\x180022260a0c0a0a08041a060000020201000a100a0e0806220a08041a060000020201000a040a020804
+#4916.a|
+#4916.a|
+#4916.b|
+#4916.b|
diff --git a/regress/core/tickets.sql b/regress/core/tickets.sql
index 9f95ac0..dd4d365 100644
--- a/regress/core/tickets.sql
+++ b/regress/core/tickets.sql
@@ -596,15 +596,15 @@ select '#1580.1', ST_Summary(ST_Transform('SRID=4326;POINT(0 0)'::geometry, 3395
 
 do $$
 declare
-proj_version integer;       
+proj_version integer;
 err_str text;
 begin
 
     select ((regexp_matches(postgis_proj_version(), '(\d+)\.\d+'))[1])::integer into proj_version;
     select ST_Transform('SRID=4326;POINT(180 95)'::geometry, 3395); -- fails
 
-exception 
-when others then 
+exception
+when others then
     err_str := SQLERRM;
     if proj_version >= 8 and SQLERRM = 'transform: Invalid coordinate (2049)' then
         raise notice '#1580.2: Caught a PROJ error';
@@ -613,8 +613,8 @@ when others then
     else
     	raise notice '#1580.2: Unexpected PROJ Result. Proj version = %. Error string: %', proj_version, err_str;
     end if;
-    
-end; 
+
+end;
 $$ language 'plpgsql';
 
 select '#1580.3', ST_Summary(ST_Transform('SRID=4326;POINT(0 0)'::geometry, 3395));
@@ -1423,12 +1423,4 @@ WITH w AS (
 )
 SELECT '#4770.c', ST_AsText(g), s FROM w;
 
-SELECT '#4916.a', ST_AsGeobuf(NULL::pg_class, 'g') over (order by b)
-FROM (VALUES ('POINT(0 0)'::geometry, 'A0006', 300),
-           ('POINT(1 1)'::geometry, 'A0006', 302)) t(g, a, b);
-
-SELECT '#4916.b', ST_AsGeobuf(NULL::pg_class) over (order by b)
-FROM (VALUES ('POINT(0 0)'::geometry, 'A0006', 300),
-           ('POINT(1 1)'::geometry, 'A0006', 302)) t(g, a, b);
-
 ------
diff --git a/regress/core/tickets_expected b/regress/core/tickets_expected
index 4d39f32..f8dfdd9 100644
--- a/regress/core/tickets_expected
+++ b/regress/core/tickets_expected
@@ -460,7 +460,3 @@ ERROR:  LWGEOM_addpoint: Invalid offset
 #4770.b|POINT(1 1)|302
 #4770.c|POINT(0 0)|300
 #4770.c|MULTIPOINT(0 0,1 1)|602
-#4916.a|
-#4916.a|
-#4916.b|
-#4916.b|

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

Summary of changes:
 regress/core/geobuf.sql       |  8 ++++++++
 regress/core/geobuf_expected  |  4 ++++
 regress/core/tickets.sql      | 18 +++++-------------
 regress/core/tickets_expected |  4 ----
 4 files changed, 17 insertions(+), 17 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list