Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XyTE7-0004ja-1n for pgsql-bugs@arkaria.postgresql.org; Tue, 09 Dec 2014 22:25:51 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XyTE6-0005Q9-Ia for pgsql-bugs@arkaria.postgresql.org; Tue, 09 Dec 2014 22:25:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XyTE5-0005Q1-UO for pgsql-bugs@postgresql.org; Tue, 09 Dec 2014 22:25:49 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1XyTE2-0002D8-CE for pgsql-bugs@postgresql.org; Tue, 09 Dec 2014 22:25:48 +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 sB9MPh1w026325; Tue, 9 Dec 2014 17:25:43 -0500 From: Tom Lane To: cowwoc cc: pgsql-bugs@postgresql.org Subject: Re: BUG #6706: pg_upgrade fails when plpgsql dropped/re-created In-reply-to: <1418163196370-5829821.post@n5.nabble.com> References: <9917.1341462118@sss.pgh.pa.us> <20120705133253.GJ5578@momjian.us> <20120706233441.GA26828@momjian.us> <20120707144544.GF26828@momjian.us> <20120710214326.GA6315@momjian.us> <1418162132845-5829814.post@n5.nabble.com> <25623.1418162623@sss.pgh.pa.us> <1418163196370-5829821.post@n5.nabble.com> Comments: In-reply-to cowwoc message dated "Tue, 09 Dec 2014 15:13:16 -0700" Date: Tue, 09 Dec 2014 17:25:43 -0500 Message-ID: <26324.1418163943@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org cowwoc writes: > Tom Lane-2 wrote >> That's bizarre. It sounds like there's something corrupt about your >> pg_extension system catalog. Does "select * from pg_extension" show >> reasonable-looking data? If so, try "REINDEX TABLE pg_extension". > This error is quite random, so I'll have to try again the next time I run > into it. I get the following output when the database is in a "good" state: If it was non-reproducible, you really should have mentioned that to start with. That fact changes the likely causes significantly. Now I'm wondering about flaky hardware, for example. > extname, extowner, extnamespace, extrelocatable, extversion, extconfig, > extcondition > "plpgsql";10;11;f;"1.0";"";"" > "hstore";13288111;2200;t;"1.2";"";"" > Is that "reasonable-looking data"? Yeah, although that OID for the owning role of hstore seems pretty large. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs