Skip to content

CREATE INDEX error... Missing strans comparison function or hash opclass? #93

Open
@esabol

Description

@esabol

One of my colleagues is trying to create an index on a column operated on with a PL/pgsql function that we have that uses various pgsphere types and operators and received this error....

> create index xgeom_s_region on sometable ((xgeom_intext(s_region)))
ERROR: could not identify a comparison function for type strans

Should pgsphere provide a comparison function for strans objects? Does that even make sense?

In the meantime, if anyone has even a quick and dirty solution or advice to help my colleague get beyond this error, please reply.

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