[postgis-tickets] [SCM] PostGIS branch master updated. 3.3.0alpha1-91-g8916302c8

git at osgeo.org git at osgeo.org
Mon Jun 20 10:53:47 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, master has been updated
       via  8916302c8fb51e49577c37610f515f1e22d820ec (commit)
      from  223a9904eeb0f82a88c9d039c3bdabf0824e1034 (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 8916302c8fb51e49577c37610f515f1e22d820ec
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Mon Jun 20 10:53:41 2022 -0700

    Error out when asked to build flatgeobuf on table with no geometry (references #5173)

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:
 postgis/flatgeobuf.c | 3 +++
 1 file changed, 3 insertions(+)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list