Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aqXFJ-0003oO-Kl for pgsql-committers@arkaria.postgresql.org; Thu, 14 Apr 2016 02:43:05 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1aqXFJ-000160-7H for pgsql-committers@arkaria.postgresql.org; Thu, 14 Apr 2016 02:43:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aqXFI-00014S-RY for pgsql-committers@postgresql.org; Thu, 14 Apr 2016 02:43:04 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1aqXFF-00015V-7s for pgsql-committers@postgresql.org; Thu, 14 Apr 2016 02:43:04 +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 u3E2gxkK002161; Wed, 13 Apr 2016 22:42:59 -0400 From: Tom Lane To: Stephen Frost cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Fix pg_dump so pg_upgrade'ing an extension with simple opfamilie In-reply-to: <20160414014210.GW10850@tamriel.snowman.net> References: <16372.1460593019@sss.pgh.pa.us> <20160414014210.GW10850@tamriel.snowman.net> Comments: In-reply-to Stephen Frost message dated "Wed, 13 Apr 2016 21:42:10 -0400" Date: Wed, 13 Apr 2016 22:42:59 -0400 Message-ID: <2160.1460601779@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-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org Stephen Frost 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