Skip to content

Postgres - expression index is not returning column names #181

@r-work

Description

@r-work

I have the following index (example):

CREATE INDEX idx ON test_table (lower(column1))

When reading the schema, looking at test_table indexes, for that index the column name is lower (see attached screenshot).
Basically, it's neither returning the expression nor the column name.
Not sure what would be the best way to handle this, maybe just return the expression if the index is an expression?

Screenshot 2024-03-19 170549

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