Skip to content

Empty PostgreSQL ARRAY should be printed with a cast #853

@tisonkun

Description

@tisonkun

Otherwise, it will fail with "cannot determine type of empty array".

For example, an empty string vec will be converted to ARRAY [] but PG needs ARRAY[]::TEXT[] or things like that for understanding the type.

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