Re: pg_upgrade does not upgrade pg_stat_statements properly - Mailing list pgsql-hackers

From Julien Rouhaud
Subject Re: pg_upgrade does not upgrade pg_stat_statements properly
Date
Msg-id 20210730103945.nc2zl74v5czy2qwd@nol
Whole thread Raw
In response to Re: pg_upgrade does not upgrade pg_stat_statements properly  (Dave Cramer <davecramer@postgres.rocks>)
Responses Re: pg_upgrade does not upgrade pg_stat_statements properly  (Dave Cramer <davecramer@postgres.rocks>)
List pgsql-hackers
On Fri, Jul 30, 2021 at 06:03:50AM -0400, Dave Cramer wrote:
> 
> What would happen if subsequent to the upgrade "ALTER EXTENSION UPGRADE"
> was executed ?

If the extension was already up to date on the source cluster then obviously
nothing.

Otherwise, the extension would be updated.  But unless I'm willing (and
remember) to copy/paste until the end of time an anonymous block code that
checks the current server version to see if the wrapper function needs to be
overwritten then nothing will happen either as far as this function is
concerned.



pgsql-hackers by date:

Previous
From: Greg Nancarrow
Date:
Subject: Re: Segment fault when excuting SPI function On PG with commit 41c6a5be
Next
From: Dave Cramer
Date:
Subject: Re: pg_upgrade does not upgrade pg_stat_statements properly