Skip to content

Error: expression index attribute is not yet supported #2298

@mtmacdonald

Description

@mtmacdonald

Follows on from #2206 and may be a duplicate of #2250 (I will let you decide and merge or close one duplicate if they are the same issue).

I am trying to run my team's existing PostgreSQL migrations to evaluate if Doltgres can work for our product.

I hit this blocker: error: expression index attribute is not yet supported.

To reproduce:

CREATE DATABASE testdb;
CREATE TABLE t (a TEXT);
CREATE INDEX i ON t (lower(a));

-> error: expression index attribute is not yet supported.

This does work:

CREATE INDEX i ON t (a);

Is it possible to support this so I can run our pre-existing migration scripts? Thank you!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions