Skip to content

It is not possible to extract an array of bytea. #36

@pinver

Description

@pinver

Actually the PostgreSQL bytea type is handled by the D ubyte[] type, like the varchar, text is handled by the D string type.

The readArray method of 'Message' is using methods like 'arrayDimensions!T' or 'readDimension' that have specials check for handling strings, with the isSomeString template, but can't actually handle the case where the PostgreSQL column to read has a type bytea[], that must be read by a ubyte[][] array.

Suggestion? There's some workaround of this is an intended behaviours? Must I provide a pull request with the adaptations to 'readDimension', 'arrayDimensions', 'multiArrayElemType' to handle the case?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions