Re: pg_upgrade does not upgrade pg_stat_statements properly

From: Dave Cramer <davecramer(at)postgres(dot)rocks>
To: Julien Rouhaud <rjuju123(at)gmail(dot)com>
Cc: Jan Wieck <jan(at)wi3ck(dot)info>, Bruce Momjian <bruce(at)momjian(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: pg_upgrade does not upgrade pg_stat_statements properly
Date: 2021-07-30 11:33:55
Message-ID: CADK3HHKGk-YZ-FR2_nY+GeBKmYPuGbS33KUE2NM+F9oHQby_Hg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
> Yes, but as I said twice only if the currently installed version is
> different
> from the default version. Otherwise ALTER EXTENSION UPGRADE is a no-op.
>

Ah, ok, got it, thanks. Well I'm not sure how to deal with this.
The only thing I can think of is that we add a post_upgrade function to the
API.

All extensions would have to implement this.

Dave

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Julien Rouhaud 2021-07-30 11:40:52 Re: pg_upgrade does not upgrade pg_stat_statements properly
Previous Message Julien Rouhaud 2021-07-30 11:28:32 Re: pg_upgrade does not upgrade pg_stat_statements properly