Re: NEEDING HELP: dropping none-existing extension

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Axel Rau <Axel(dot)Rau(at)chaos1(dot)de>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: NEEDING HELP: dropping none-existing extension
Date: 2020-04-04 16:09:34
Message-ID: 25615.1586016574@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Axel Rau <Axel(dot)Rau(at)chaos1(dot)de> writes:
> during upgrade from 11 to 12, pg_upgrade errors out:
> - - -
> could not load library "$libdir/pg_repack": ERROR: could not access file "$libdir/pg_repack": No such file or directory
> Database: development
> Database: operations
> Database: pki_op
> - - -
> I find no extension pg_repack, only views with that name in those DBs.
> While trying to drop them, I get:
> - - -
> ERROR: cannot drop schema repack because extension pg_repack requires it HINT: You can drop extension pg_repack instead.

It is really, really, really difficult to believe that you got that
error if there's not any extension pg_repack in the database. Even
granting the possibility of catalog corruption, there would have
to be some row in pg_extension containing extname = 'pg_repack', or
the message text could not have been generated. So look again ...

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Ron 2020-04-04 16:24:02 Re: NEEDING HELP: dropping none-existing extension
Previous Message Axel Rau 2020-04-04 15:48:24 NEEDING HELP: dropping none-existing extension