geo: perform basic validation for Geospatial objects in spatialObjectFromGeomT #51074
Labels
A-spatial
Spatial work that is *not* related to builtins.
C-enhancement
Solution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)
good first issue
We currently do not perform any basic validation when creating a geospatial type. This can be done from
spatialObjectFromGeomT
. We should perform the following checks:Unit tests for this validate functionality would be great, one or two small integration tests in the geospatial logic test as well.
Ideally this should extend a pgerror
InvalidArgument
.This should adapt and replace the logic in #50979.
The text was updated successfully, but these errors were encountered: