Re: [HACKERS] pg_upgrade vs extension upgrades - Mailing list pgsql-hackers

From Robert Haas
Subject Re: [HACKERS] pg_upgrade vs extension upgrades
Date
Msg-id CA+TgmoZR_uqenNrZq9zYpGj1JNAogzZyJUXdkqDt01PT-Up7nQ@mail.gmail.com
Whole thread Raw
In response to [HACKERS] pg_upgrade vs extension upgrades  (Magnus Hagander <magnus@hagander.net>)
List pgsql-hackers
On Mon, Apr 10, 2017 at 11:30 AM, Magnus Hagander <magnus@hagander.net> wrote:
> After you've run pg_upgrade, you have to loop through all your databases and
> do an "ALTER EXTENSION abc UPDATE" once for each extension.
>
> Is there a reason we shouldn't have pg_upgrade emit a script that does this,
> similar to how it emits a script to run ANALYZE?

I don't know whether it's useful, but I doubt it would hurt anything.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: [HACKERS] logical replication worker and statistics
Next
From: Robert Haas
Date:
Subject: Re: [HACKERS] GSOC'17 project introduction: Parallel COPY executionwith errors handling