Re: pg_upgrade(?) not cleaning up old extensions

From: Thomas Kellerer <shammat(at)gmx(dot)net>
To: "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org>
Cc: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
Subject: Re: pg_upgrade(?) not cleaning up old extensions
Date: 2021-02-07 16:06:22
Message-ID: 4262c6e7-e8fd-d1d9-fc1f-a419403a4cb4@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Jeff Janes schrieb am 06.02.2021 um 19:42:
> On Sat, Feb 6, 2021 at 7:24 AM Thomas Kellerer <shammat(at)gmx(dot)net <mailto:shammat(at)gmx(dot)net>> wrote:
>
> Hello,
>
> I have a (test) database that has been upgraded several times from 9.4 to 13 using pg_upgrade.
>
> I have noticed that when I look at pg_available_extensions many extensions are listed with multiple versions even though only the latest one is actually used.
>
>
> I can't reproduce this.  Are you sure you aren't looking at pg_available_extension_versions ?  Could you show some example output?

Hmm, I could have sworn I was looking at pg_available_extensions - but maybe I wasn't.

But as I can't reproduce this after a dump & reload and it's really not a big deal,
let's just assume I was indeed using the wrong view.

Thomas

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Mariane Kiesewetter 2021-02-07 21:36:40 Re: Disconnection errors
Previous Message Tom Lane 2021-02-06 18:47:26 Re: pg_upgrade(?) not cleaning up old extensions