[postgis-tickets] [SCM] PostGIS branch stable-3.2 updated. 3.2.1-29-g5d23c8ac6
git at osgeo.org
git at osgeo.org
Mon Jun 20 10:57:36 PDT 2022
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.2 has been updated
via 5d23c8ac6a196941ee299a37df19dc37cdde48bb (commit)
via 18c0a23a1368491d39ad1d0f7a37ea21dfad737e (commit)
from 92f94fe1c24b17ccf593fd670bd6d4b5817953ba (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 5d23c8ac6a196941ee299a37df19dc37cdde48bb
Merge: 18c0a23a1 92f94fe1c
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Mon Jun 20 10:57:26 2022 -0700
Error out when asked to build flatgeobuf on table with no geometry (references #5173)
diff --cc NEWS
index 3520cdef3,8072de9a3..b2029aefd
--- a/NEWS
+++ b/NEWS
@@@ -2,7 -2,7 +2,6 @@@ PostGIS 3.2.2de
2022/MM/DD
* Bug Fixes *
-- - #5152, Fix infinite loop with ST_Split (Sandro Santilli)
- #5124, GRANT USAGE on topology schema to PUBLIC (Sandro Santilli)
- #5120, Fix not-null result from ST_EstimatedExtent against
truncated tables with spatial index (Sandro Santilli)
@@@ -10,16 -10,16 +9,18 @@@
(Sandro Santilli)
- #5105, Fix false invalidity report from ValidateTopology
(Sandro Santilli)
++ - #5039, postgis_tiger_geocoder: Support for TIGER 2021 (Regina Obe)
- #5097, Ensure spatial index is used during topology population
at the getClosestEdge step (Sandro Santilli)
- #5091, Fix --without-protobuf builds (Tobias Bussmann)
- #5100, Don't use pg_atoi (removed in PG15) (Laurenz Albe)
++ - #5114, Crash with long column names pgsql2shp (Paul Ramsey)
- #5123, Support for PG15 (JSON funcs exposed) (Regina Obe)
-- - #5151, ST_SetPoint with empty geometries (Regina Obe)
-- - #5150, Change signature of AddToSearchPath (Regina Obe)
- #5125, Fix search path function (Sandro Santilli)
-- - #5114, Crash with long column names pgsql2shp (Paul Ramsey)
- - #5039, postgis_tiger_geocoder: Support for TIGER 2021 (Regina Obe)
++ - #5150, Change signature of AddToSearchPath (Regina Obe)
++ - #5151, ST_SetPoint with empty geometries (Regina Obe)
++ - #5152, Fix infinite loop with ST_Split (Sandro Santilli)
+ - #5173, Crash creating flatgeobuf on row without geometry (Julien Rouhaud)
PostGIS 3.2.1
commit 18c0a23a1368491d39ad1d0f7a37ea21dfad737e
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Mon Jun 20 10:55:53 2022 -0700
Error out when asked to build flatgeobuf on table with no geometry (references #5173)
diff --git a/NEWS b/NEWS
index 4769fe96f..3520cdef3 100644
--- a/NEWS
+++ b/NEWS
@@ -19,6 +19,7 @@ PostGIS 3.2.2dev
- #5150, Change signature of AddToSearchPath (Regina Obe)
- #5125, Fix search path function (Sandro Santilli)
- #5114, Crash with long column names pgsql2shp (Paul Ramsey)
+ - #5173, Crash creating flatgeobuf on row without geometry (Julien Rouhaud)
PostGIS 3.2.1
diff --git a/postgis/flatgeobuf.c b/postgis/flatgeobuf.c
index 1b502e546..545442f31 100644
--- a/postgis/flatgeobuf.c
+++ b/postgis/flatgeobuf.c
@@ -110,6 +110,9 @@ static void inspect_table(struct flatgeobuf_agg_ctx *ctx)
columns_size++;
}
+ if (!geom_found)
+ elog(ERROR, "no geom column found");
+
if (columns_size > 0) {
ctx->ctx->columns = columns;
ctx->ctx->columns_size = columns_size;
-----------------------------------------------------------------------
Summary of changes:
NEWS | 11 ++++++-----
postgis/flatgeobuf.c | 3 +++
2 files changed, 9 insertions(+), 5 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list