Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YAjaM-0008Ne-SO for pgsql-bugs@arkaria.postgresql.org; Mon, 12 Jan 2015 18:19:30 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YAjaL-00016K-Lz for pgsql-bugs@arkaria.postgresql.org; Mon, 12 Jan 2015 18:19:29 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YAjaK-00015Y-U5 for pgsql-bugs@postgresql.org; Mon, 12 Jan 2015 18:19:29 +0000 Received: from mout.kundenserver.de ([212.227.126.131]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YAjaH-0003qH-At for pgsql-bugs@postgresql.org; Mon, 12 Jan 2015 18:19:27 +0000 Received: from anarazel.de ([93.220.110.116]) by mrelayeu.kundenserver.de (mreue001) with ESMTPSA (Nemesis) id 0Lem1n-1XQQw50Dtv-00qj3A; Mon, 12 Jan 2015 19:19:18 +0100 Received: by anarazel.de (Postfix, from userid 1000) id A7A7010044C; Mon, 12 Jan 2015 19:19:16 +0100 (CET) Date: Mon, 12 Jan 2015 19:19:16 +0100 From: Andres Freund To: Tom Lane Cc: cowwoc , pgsql-bugs@postgresql.org Subject: Re: BUG #6706: pg_upgrade fails when plpgsql dropped/re-created Message-ID: <20150112181916.GG2092@awork2.anarazel.de> References: <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> <26324.1418163943@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <26324.1418163943@sss.pgh.pa.us> X-Provags-ID: V03:K0:Uj5116ZaDfHQ5lf5chgVDJGNeDw0rM1HhDpgqJRBDD+vad/R8zD aaHVdXkZLq5282GI9SuDUgm/cANZqiDjwLiZAOTgxVW0SKh/z4WSCYfW/rYbXCvE48/vtJv 7hNDR3PSEUEVoo5V9V6cdII/FvEAjopc1DajzpW7RTEJVP97vxkdL++5UH0aZkF4QJ3U2c1 PHzFdPBUT7EqEL8LwND/g== X-UI-Out-Filterresults: notjunk:1; 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 On 2014-12-09 17:25:43 -0500, Tom Lane wrote: > 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. cowwoc just talked about this on irc, and the explanation very likely is that the extension commands are run in parallel on several connections. Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs