st_geometry_on_invalid option

Controls the behavior when a geometry fails basic validation (for example, a linestring with 1 point, a polygon with a ring that is not closed, or a geometry that exceeds the bounds of the spatial reference system).

 Allowed values
 Default
 Remarks
 See also