TWKB data trasfer silently fails for point and "geometry" columns

Description

In both cases no apparent error shows up, but the geometry is not correctly transferred from server to client.
TWKB has no built-in validation controls (like the format itself), no headers, the code ends up reading WKB thinking it's TWKB and unfortunately that passes.

This happens for point geometries and any column that's a generic "geometry" with no actual subtype specification.

Environment

None

Assignee

Andrea Aime

Reporter

Andrea Aime

Triage

None

Components

Fix versions

Priority

Medium
Configure