Skip to content

Map ::wkb_blob as an alias to ST_ASWKB? #49

@marklit

Description

@marklit

It seems this functionality is there already if called in the right way.

D SELECT ST_POINT(52.347113, 4.869454)::wkb_blob AS test;
Error: Conversion Error: Unimplemented type for cast (GEOMETRY -> WKB_BLOB)

D SELECT ST_ASWKB(ST_POINT(52.347113, 4.869454)) test;
┌────────────────────────────┐
│            test            │
│          wkb_blob          │
├────────────────────────────┤
│ POINT (52.347113 4.869454) │
└────────────────────────────┘

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions