Re: NEEDING HELP: dropping none-existing extension

From: Ron <ronljohnsonjr(at)gmail(dot)com>
To: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: NEEDING HELP: dropping none-existing extension
Date: 2020-04-04 16:24:02
Message-ID: 7853427a-c037-2bc1-f0b5-b54e8f1cccc1@gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On 4/4/20 10:48 AM, Axel Rau wrote:
> Hi all
>
> 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.
> - - -
>
> How can I get rid of those views?

Are you trying to drop the extension pg_repack *before* doing the upgrade?

--
Angular momentum makes the world go 'round.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Axel Rau 2020-04-04 16:47:49 Re: NEEDING HELP: dropping none-existing extension
Previous Message Tom Lane 2020-04-04 16:09:34 Re: NEEDING HELP: dropping none-existing extension