Skip to content

Wrong return type for UNLIST: CHAR(32) should be VARCHAR(32) #8905

@mrotteveel

Description

@mrotteveel

The documentation of UNLIST (in README.unlist), states (emphasis mine):

  1. <data-type>: target data type to convert the output values into. Alternatively, a domain can be specified as the returned type. If omitted, VARCHAR(32) is implied.

In reality, UNLIST defaults to CHAR(32).

I think the padding behaviour of CHAR is undesirable for this function, and it should default to return VARCHAR as stated in the documentation.

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions