Re: Upgrading an extension's extnamespace from user-specified to a defined schema breaks dump/restore

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: PostgreSQL Bug List <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: Upgrading an extension's extnamespace from user-specified to a defined schema breaks dump/restore
Date: 2024-05-08 22:01:37
Message-ID: CAKFQuwYbqurFWg0W8mqBsHLsCyxZAZqBdV0q-beEFTbeBNhO2A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Mon, Apr 15, 2024 at 8:15 PM David G. Johnston <
david(dot)g(dot)johnston(at)gmail(dot)com> wrote:

> tl/dr - alter extension ... set schema ... needs to update
> pg_extension.extnamespace if the named schema matches the current value in
> the control file. Otherwise, extension authors can and have introduced a
> dump/restore failure mode that the DBA can only fix via direct catalog
> manipulation.
>
>
Tom's recent bug regarding alter extension reminded me that no has
expressed an opinion on this one.

Thoughts?

David J.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2024-05-08 22:29:59 Re: Upgrading an extension's extnamespace from user-specified to a defined schema breaks dump/restore
Previous Message Sandeep Thakkar 2024-05-08 15:34:05 Re: Re: edb installation failed for pgadmin when username is Chinese under c;\user #7432