Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XyTSy-0005Ew-4U for pgsql-bugs@arkaria.postgresql.org; Tue, 09 Dec 2014 22:41:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1XyTSx-0001zv-Js for pgsql-bugs@arkaria.postgresql.org; Tue, 09 Dec 2014 22:41:11 +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 1XyTSv-0001wZ-Jq for pgsql-bugs@postgresql.org; Tue, 09 Dec 2014 22:41:09 +0000 Received: from mwork.nabble.com ([162.253.133.43]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1XyTSs-0001WC-5J for pgsql-bugs@postgresql.org; Tue, 09 Dec 2014 22:41:07 +0000 Received: from msam.nabble.com (unknown [162.253.133.85]) by mwork.nabble.com (Postfix) with ESMTP id 49967D2D801 for ; Tue, 9 Dec 2014 14:41:05 -0800 (PST) Date: Tue, 9 Dec 2014 15:41:04 -0700 (MST) From: cowwoc To: pgsql-bugs@postgresql.org Message-ID: <54877A2F.2090704@bbs.darktech.org> In-Reply-To: <26324.1418163943@sss.pgh.pa.us> 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> Subject: Re: BUG #6706: pg_upgrade fails when plpgsql dropped/re-created MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_143678_999837479.1418164864957" 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 ------=_Part_143678_999837479.1418164864957 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit On 09/12/2014 5:26 PM, Tom Lane-2 [via PostgreSQL] wrote: > cowwoc <[hidden email] > > 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. Highly unlikely. This is running off my local machine which has been stable for many years now. If flaky hardware was at play, I'd expect to see other intermittent failures elsewhere. > > 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. I haven't ever run AUTOVACUUM on this machine (the pg installation is about 3 months old). Could it cause some of these problems. This is a very low-volume developer machine that only runs small jobs I trigger manually. Gili -- View this message in context: http://postgresql.nabble.com/BUG-6706-pg-upgrade-fails-when-plpgsql-dropped-re-created-tp5714220p5829834.html Sent from the PostgreSQL - bugs mailing list archive at Nabble.com. ------=_Part_143678_999837479.1418164864957 Content-Type: text/html; charset=UTF8 Content-Transfer-Encoding: quoted-printable =20 =20 =20
On 09/12/2014 5:26 PM, Tom Lane-2 [via PostgreSQL] wrote:
cowwoc <[hidden email]> writes:
> Tom Lane-2 wrote
>> That's bizarre. =C2=A0It sounds like there's something corru= pt about your
>> pg_extension system catalog. =C2=A0Does "select * from pg_extension" show
>> reasonable-looking data? =C2=A0If 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. =C2=A0That fact changes the likely causes significantly. =C2=A0= Now I'm
wondering about flaky hardware, for example.

Highly unlikely. This is running off my local machine which has been stable for many years now. If flaky hardware was at play, I'd expect to see other intermittent failures elsewhere.

> 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.

I haven't ever run AUTOVACUUM on this machine (the pg installation is about 3 months old). Could it cause some of these problems. This is a very low-volume developer machine that only runs small jobs I trigger manually.

Gili
=20 =09 =09 =09

View this message in context:
PostgreSQL - bugs mailing list archive at Nabble.com.
------=_Part_143678_999837479.1418164864957--