Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hGuqC-0004JN-Ry for pgsql-general@arkaria.postgresql.org; Thu, 18 Apr 2019 00:23:49 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hGuqB-00039Y-J6 for pgsql-general@arkaria.postgresql.org; Thu, 18 Apr 2019 00:23:47 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hGuqB-00039H-53 for pgsql-general@lists.postgresql.org; Thu, 18 Apr 2019 00:23:47 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hGuq7-0000SV-IG for pgsql-general@lists.postgresql.org; Thu, 18 Apr 2019 00:23:45 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 3561F2205C; Wed, 17 Apr 2019 20:23:42 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Wed, 17 Apr 2019 20:23:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm2; bh=c w5Grw55WsOAtus4+F0sr/zer1TQMofw/oFRuKnahF8=; b=T1bgLo0DoBDoZpW95 GuokGZZkb0jb6K1i8XE+BCzA1fLoxDNQe035xQKzKBAD+DVr3S5/YEISV9FEKg7F 4No3vK+yKGzFFYifUOCT5CdZfgFKTYxnJ+0elZx1ZbX4Gq6V8stZPdfO4MsMpWdA K0EmHIL3Wfzt0q3KFwAAQzCZTMSHWciM2Yo76RPKMvj8/9IgvAtyo2ywy162Frav LDEPsmtaibFV3BYX1a8RjFewDC/WU46wKXBhPU68ug8ILN+0IwrZ9GUaesUOaTaS 2IGpfR6FfxfDdc7KcZ6dloZh+DdYEO+eSXBTJKhpuURLOj7FXvKMh84fPQgEV4nt BtFiw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=cw5Grw55WsOAtus4+F0sr/zer1TQMofw/oFRuKnah F8=; b=ofeZsJJDFoGyBHWimWYzp2agmsiokE7ifYFIGSAmU5I1hfcE+OZK6YD6V Tg0A1b+RDCqSEwH1Pmybvc1S2/FP4dNmPtRIvJEz72/TeG5VvDcLgp6LzJtIr46g eMy2Dqa4VCtmOEEk8U8iL3PIOlNy9bm/QEcmbNTpSurjnT5g+KAjq0Yh0q3x0y6+ ZQl+bMI5KhshkZKpiX/fZcJeBfo0yNiC3PXdF17fhcwiUthPcm3qxrR92vvj+JIx FfedHD3FFETFcggzLMCdqpp1Bk8rKQyrGLbzLMK4QnsAG0uZ25BqJFfrXJS96PwR 7S0nhvTTmA0s3W5Jb5cMem4GxPvBA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrfeeggdefudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesthekre dttdefheenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhl rghvvghrsegrkhhlrghvvghrrdgtohhmqeenucffohhmrghinhepphhoshhtghhrvghsqh hlrdhorhhgnecukfhppeejuddrvdduvddrudehtddrvddtvdenucfrrghrrghmpehmrghi lhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomhenucevlh hushhtvghrufhiiigvpedt X-ME-Proxy: Received: from [192.168.1.4] (unknown [71.212.150.202]) by mail.messagingengine.com (Postfix) with ESMTPA id 4CBE210319; Wed, 17 Apr 2019 20:23:41 -0400 (EDT) Subject: Re: ERROR: operator class "gin__int_ops" does not exist for access method "gin" To: Julie Nishimura , "pgsql-general@lists.postgresql.org" References: From: Adrian Klaver Message-ID: <285feb8c-779f-e885-44ee-c0c603e71e45@aklaver.com> Date: Wed, 17 Apr 2019 17:23:40 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 4/17/19 5:18 PM, Julie Nishimura wrote: > 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? Looks like it needs the intarray extension: https://www.postgresql.org/docs/8.3/intarray.html "There is also a non-default GIN operator class gin__int_ops." 9.4: https://www.postgresql.org/docs/9.4/intarray.html > > Thank you -- Adrian Klaver adrian.klaver@aklaver.com