ERROR: operator class "gin__int_ops" does not exist for access method "gin"

From: Julie Nishimura <juliezain(at)hotmail(dot)com>
To: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: ERROR: operator class "gin__int_ops" does not exist for access method "gin"
Date: 2019-04-18 00:18:40
Message-ID: BYAPR08MB50147B68654B4023712FC6B1AC260@BYAPR08MB5014.namprd08.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

We migrated some tables from 8.3 postgresql to 9.4, and when I compared tables DDL between environments, I've noticed some indices are missing (majority of them are using GIN

When I am taking 8.3 ddl for it:
CREATE INDEX serp_test2
ON serp_test
USING gin
(domainids gin__int_ops);

it gives me error:
ERROR: operator class "gin__int_ops" does not exist for access method "gin"

Is it possible to retrieve the ddl for operator class and recreate it on 9.4? If not, is there any work-around?

Thank you

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2019-04-18 00:23:40 Re: ERROR: operator class "gin__int_ops" does not exist for access method "gin"
Previous Message Adrian Klaver 2019-04-18 00:17:46 Re: is it possible to create partitioned tables using tables from different schemas