Skip to content

[postgres] Type name for custom enum is not always attached to TypeInfo #241

@Celti

Description

@Celti

This leads to errors like "mismatched types; Rust type `eris::db::ActivityKind` (as SQL type activity_kind) is not compatible with SQL type " with the following types.

Minimal reproduction: https://gist.github.com/Celti/7a9bc788ace5620825096961ce88ab70
This is with sqlx 0.3.3 and postgres 12.2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions