Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1adQgo-0004kM-3N for pgsql-general@arkaria.postgresql.org; Tue, 08 Mar 2016 23:05:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1adQgn-0001Jc-La for pgsql-general@arkaria.postgresql.org; Tue, 08 Mar 2016 23:05:17 +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) (envelope-from ) id 1adMLi-0001tS-RW for pgsql-general@postgresql.org; Tue, 08 Mar 2016 18:27:14 +0000 Received: from util-st-02.imsweb.com ([204.132.58.65]) by makus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1adMLe-00068w-Tj for pgsql-general@postgresql.org; Tue, 08 Mar 2016 18:27:13 +0000 Received: from PAN.omni.imsweb.com (pan.omni.imsweb.com [172.22.64.64]) by util-st-02.imsweb.com (Postfix) with ESMTP id 93D42E160C for ; Tue, 8 Mar 2016 13:27:10 -0500 (EST) Received: from NAIAD.omni.imsweb.com (172.22.64.103) by PAN.omni.imsweb.com (172.22.64.64) with Microsoft SMTP Server (TLS) id 15.0.1156.6; Tue, 8 Mar 2016 13:27:08 -0500 Received: from NAIAD.omni.imsweb.com ([172.22.64.103]) by NAIAD.omni.imsweb.com ([172.22.64.103]) with mapi id 15.00.1156.000; Tue, 8 Mar 2016 13:27:08 -0500 From: "Feld, Michael (IMS)" To: "pgsql-general@postgresql.org" Subject: pg_upgrade error regarding hstore operator Thread-Topic: pg_upgrade error regarding hstore operator Thread-Index: AdF5Z2tvCSwX6/yiTD6b7QV8/DOIOgAAJ0qw Date: Tue, 8 Mar 2016 18:27:06 +0000 Message-ID: <4b5993299ed948728e2ad6e278861807@NAIAD.omni.imsweb.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [204.132.58.76] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Pg-Spam-Score: -1.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 I am attempting to upgrade my organization's database cluster from 9.1.19 t= o 9.5.1 using the pg_upgrade utility. After some processing, the tool bails= out with the following error in the log: pg_restore: creating OPERATOR "public.=3D>" pg_restore: [archiver (db)] Error while PROCESSING TOC: pg_restore: [archiver (db)] Error from TOC entry 5660; 2617 5655672 OPERATO= R =3D> postgres pg_restore: [archiver (db)] could not execute query: ERROR: syntax error a= t or near "=3D>" LINE 1: CREATE OPERATOR =3D> ( ^ Command was: CREATE OPERATOR =3D> ( PROCEDURE =3D "hstore", LEFTARG =3D "text", RIGHTARG =3D "text" ); -- For binary upgrade, handle... I tried dropping the operator before doing the upgrade but it's dependent o= n the existence of the hstore extension. Ideas? ________________________________ Information in this e-mail may be confidential. It is intended only for the= addressee(s) identified above. If you are not the addressee(s), or an empl= oyee or agent of the addressee(s), please note that any dissemination, dist= ribution, or copying of this communication is strictly prohibited. If you h= ave received this e-mail in error, please notify the sender of the error. --=20 Sent via pgsql-general mailing list (pgsql-general@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general