Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1anwRo-0004Qm-D6 for pgsql-general@arkaria.postgresql.org; Wed, 06 Apr 2016 23:01:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1anwRm-0007A2-Ko for pgsql-general@arkaria.postgresql.org; Wed, 06 Apr 2016 23:01:14 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1anwRm-00079s-0P for pgsql-general@postgresql.org; Wed, 06 Apr 2016 23:01:14 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1anwRe-0001DK-VU for pgsql-general@postgresql.org; Wed, 06 Apr 2016 23:01:12 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u36N14Qh004938; Wed, 6 Apr 2016 19:01:04 -0400 From: Tom Lane To: "Feld, Michael (IMS)" cc: "pgsql-general@postgresql.org" Subject: Re: pg_upgrade error regarding hstore operator In-reply-to: <15c0241a4a14409d9bda8c29a9673d68@NAIAD.omni.imsweb.com> References: <4b5993299ed948728e2ad6e278861807@NAIAD.omni.imsweb.com> <22170.1457479307@sss.pgh.pa.us> <15c0241a4a14409d9bda8c29a9673d68@NAIAD.omni.imsweb.com> Comments: In-reply-to "Feld, Michael (IMS)" message dated "Wed, 06 Apr 2016 20:21:22 -0000" Date: Wed, 06 Apr 2016 19:01:04 -0400 Message-ID: <4937.1459983664@sss.pgh.pa.us> X-Pg-Spam-Score: -2.9 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-general Precedence: bulk Sender: pgsql-general-owner@postgresql.org "Feld, Michael (IMS)" writes: > Thanks for the assist Tom. That worked for us. Noticing a different > issue following the pg_upgrade. If we take a pg_dump of a database on > this upgraded instance with the hstore extension and try to pg_restore > it back up to the same instance we get the following errors Those are the *only* errors you get? That seems rather odd. I could believe something like this happening if, say, you had an "unpackaged" (that is, pre-extensions) version of hstore lying about. But then you'd probably get conflicts on all the hstore-related objects, not only the opclasses. In any case, by far the most likely explanation is that you're trying to restore into a non-empty database, probably because you've put stuff into template1 and are cloning the new database from there. regards, tom lane -- Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general