Skip to content

ST_Polygon2DFromWKB and friends incorrect? #691

@akx

Description

@akx

ST_Polygon2DFromWKB is documented as "Deserialize a POLYGON_2D from a WKB encoded blob", but its signature (both in docs and in code) is GEOMETRY ST_Polygon2DFromWKB (polygon POLYGON_2D).

That seems incorrect, since ST_GeomFromWKB is GEOMETRY ST_GeomFromWKB (wkb WKB_BLOB|BLOB)?

The same stands for ST_LineString2DFromWKB and ST_Point2DFromWKB.

These seem to have been added in eb55c2d but I don't see any tests or examples for them...

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions