From: Tom Lane <tgl@sss.pgh.pa.us>
To: parihaaraka <parihaaraka@gmail.com>
Cc: pgsql-general@postgresql.org
Subject: Re: pg_upgrade error regarding hstore operator
Date: Tue, 24 May 2016 12:17:21 -0400
Message-ID: <1125.1464106641@sss.pgh.pa.us> (raw)
In-Reply-To: <1464104743227-5904776.post@n5.nabble.com>
References: <4b5993299ed948728e2ad6e278861807@NAIAD.omni.imsweb.com>
<22170.1457479307@sss.pgh.pa.us>
<15c0241a4a14409d9bda8c29a9673d68@NAIAD.omni.imsweb.com>
<1464104743227-5904776.post@n5.nabble.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>
parihaaraka <parihaaraka@gmail.com> writes:
> I have the same issue after pg_upgrade from 9.3 to 9.5.
> pg_dump generates excess commands like
> CREATE OPERATOR FAMILY bit_ops USING gin;
> ...
> while all of this is done during CREATE EXTENSION
This is fixed in the latest round of minor releases, but not in a way that
will help you if you already pg_upgrade'd such an extension:
http://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=6cead413b
Per the comments there, you could manually add that operator family back
to its extension, or just ignore the duplicate-opfamily complaints you'd
get during a restore.
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, parihaaraka@gmail.com
Subject: Re: pg_upgrade error regarding hstore operator
In-Reply-To: <1125.1464106641@sss.pgh.pa.us>
References: <4b5993299ed948728e2ad6e278861807@NAIAD.omni.imsweb.com> <22170.1457479307@sss.pgh.pa.us> <15c0241a4a14409d9bda8c29a9673d68@NAIAD.omni.imsweb.com> <1464104743227-5904776.post@n5.nabble.com> <1125.1464106641@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox