pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stephen Frost <sfrost@snowman.net>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Fix pg_dump so pg_upgrade'ing an extension with simple opfamilie
Date: Wed, 13 Apr 2016 22:42:59 -0400
Message-ID: <2160.1460601779@sss.pgh.pa.us> (raw)
In-Reply-To: <20160414014210.GW10850@tamriel.snowman.net>
References: <E1aqTjt-0004vQ-93@gemulon.postgresql.org>
	<16372.1460593019@sss.pgh.pa.us>
	<20160414014210.GW10850@tamriel.snowman.net>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Stephen Frost <sfrost@snowman.net> writes:
> * Tom Lane (tgl@sss.pgh.pa.us) wrote:
>> I see this has broken the buildfarm's pg_upgrade checks, though only in
>> HEAD which makes me suspicious that it's exposing a pre-existing bug.
>> Odd, because I definitely tested pg_upgrade here.  Will dig into it
>> later this evening.

> My test shows, near the end:

> ERROR:  zero-length delimited identifier at or near """" at character 40
> STATEMENT:  CREATE OPERATOR FAMILY "box_ops" USING "";

> Not immediately seeing why it's unable to find the amname for box_ops
> though.

It looks like there is indeed a pre-existing bug: create_am.sql creates
an index AM, creates an opfamily for it, and then drops the index AM ...
but yet the opfamily still remains.  Somebody (possibly me) missed the
boat on dependency creation.  This is likely a *very* longstanding bug,
but it never mattered until we had the ability to create/drop index AMs.

Should have a fix in a bit.

			regards, tom lane


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers



view thread (9+ messages)

Message-ID: <2160.1460601779@sss.pgh.pa.us>
Permalink:  ../2160.1460601779@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/2160.1460601779@sss.pgh.pa.us

 · 

reply

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-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, sfrost@snowman.net
  Subject: Re: pgsql: Fix pg_dump so pg_upgrade'ing an extension with simple opfamilie
  In-Reply-To: <2160.1460601779@sss.pgh.pa.us>
  References: <E1aqTjt-0004vQ-93@gemulon.postgresql.org> <16372.1460593019@sss.pgh.pa.us> <20160414014210.GW10850@tamriel.snowman.net> <2160.1460601779@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