[SCM] PostGIS branch master updated. 3.5.0-255-g4b98ff8e3
git at osgeo.org
git at osgeo.org
Wed Apr 9 10:59:19 PDT 2025
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 4b98ff8e333b04283e8d592d234f4dd9579e02b5 (commit)
from 5ae253cb6f7e598c735360688a5b36f35df8c239 (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 4b98ff8e333b04283e8d592d234f4dd9579e02b5
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date: Wed Apr 9 10:59:13 2025 -0700
Return more useful error on NULL/incorrect input, closes #5527
diff --git a/postgis/lwgeom_in_flatgeobuf.c b/postgis/lwgeom_in_flatgeobuf.c
index f0db9253a..1cd73dd7f 100644
--- a/postgis/lwgeom_in_flatgeobuf.c
+++ b/postgis/lwgeom_in_flatgeobuf.c
@@ -175,8 +175,7 @@ Datum pgis_fromflatgeobuf(PG_FUNCTION_ARGS)
if (get_call_result_type(fcinfo, NULL, &tupdesc) != TYPEFUNC_COMPOSITE)
ereport(ERROR,
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
- errmsg("function returning record called in context "
- "that cannot accept type record")));
+ errmsg("first argument of function must be composite type")));
data = PG_GETARG_BYTEA_PP(1);
-----------------------------------------------------------------------
Summary of changes:
postgis/lwgeom_in_flatgeobuf.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
hooks/post-receive
--
PostGIS
More information about the postgis-tickets
mailing list