From: Tom Lane <tgl@sss.pgh.pa.us>
To: Phil Sorber <phil@omniti.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: objects tied to missing extension
Date: Mon, 28 Nov 2011 16:10:11 -0500
Message-ID: <23211.1322514611@sss.pgh.pa.us> (raw)
In-Reply-To: <CADAkt-iJWPaSSsLpVjQeXr+TwVWsgsY-K_GrxqoF3_CUs_9O=Q@mail.gmail.com>
References: <CADAkt-ikZcoupPAOz1WjfnZu=jgKiqPX6YQfoiPmD1Si_WiXJQ@mail.gmail.com>
<21905.1322511142@sss.pgh.pa.us>
<CADAkt-iJWPaSSsLpVjQeXr+TwVWsgsY-K_GrxqoF3_CUs_9O=Q@mail.gmail.com>
Phil Sorber <phil@omniti.com> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, phil@omniti.com
Subject: Re: objects tied to missing extension
In-Reply-To: <23211.1322514611@sss.pgh.pa.us>
References: <CADAkt-ikZcoupPAOz1WjfnZu=jgKiqPX6YQfoiPmD1Si_WiXJQ@mail.gmail.com> <21905.1322511142@sss.pgh.pa.us> <CADAkt-iJWPaSSsLpVjQeXr+TwVWsgsY-K_GrxqoF3_CUs_9O=Q@mail.gmail.com> <23211.1322514611@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox