Re: Unable to drop extension dblink - Mailing list pgsql-admin

From David G. Johnston
Subject Re: Unable to drop extension dblink
Date
Msg-id CAKFQuwZx2cLxSy+FXxMiLbRSM5PAVipaXRoDStLaK0Lbrpk1oA@mail.gmail.com
Whole thread Raw
In response to Unable to drop extension dblink  (Matt Gibbins <matt_gibbins@fastmail.com.au>)
List pgsql-admin
On Monday, September 18, 2023, Matt Gibbins <matt_gibbins@fastmail.com.au> wrote:
In the process of removing extensions not required on the database I was in the process of removing the dblink extension from the postgres database.

First attempt to drop the extension failed with 'ERROR: schema "ag_catalog" does not exist'.

Created the extension and then received the 'ERROR: table "ag_label" does not exist'.

In response I created the table with a dummy colum 'label'.

Dropping the extension resulted in "ERROR: index "pgsql-admin@lists.postgresql.org"'. So I created the index.

Next attempt resulted in 'ERROR:  column is not in index'.

Now I appear to be stuck in a loop with 'ERROR:  column is not in index' regardless of any attempt to remove these tables and the original extension.

Any assistance appreciated.

Is the output really that corrupted or is your writing of the email introducing typos and whatnot that aren’t actually being shown by the system?

I’d probably hope my backup isn’t corrupted and restore into a newly created instance where the extension manipulation just works.

David J.
 

pgsql-admin by date:

Previous
From: Matt Gibbins
Date:
Subject: Unable to drop extension dblink
Next
From: Tom Lane
Date:
Subject: Re: Unable to drop extension dblink