Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id D73C6A333F2 for ; Mon, 28 Nov 2011 17:10:26 -0400 (AST) Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RV8T4-0006aB-9r for pgsql-bugs@postgresql.org; Mon, 28 Nov 2011 21:10:26 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id pASLACaj023212; Mon, 28 Nov 2011 16:10:12 -0500 (EST) To: Phil Sorber cc: pgsql-bugs@postgresql.org Subject: Re: objects tied to missing extension In-reply-to: References: <21905.1322511142@sss.pgh.pa.us> Comments: In-reply-to Phil Sorber message dated "Mon, 28 Nov 2011 16:05:41 -0500" Date: Mon, 28 Nov 2011 16:10:11 -0500 Message-ID: <23211.1322514611@sss.pgh.pa.us> From: Tom Lane X-Pg-Spam-Score: -3.1 (---) X-Archive-Number: 201111/198 X-Sequence-Number: 31793 Phil Sorber writes: > I am still able to reproduce the "ERROR: cache lookup failed for extension > xxxxx" if I use an explicit 'drop extension'. I am unsure how I can > reverse the state it is now in. I assume there is some system catalog > I can edit that will fix it? I think you have some dangling entries in pg_depend --- manually deleting any rows that reference the missing pg_extension OID should fix it. regards, tom lane