pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Thomas Poty <thomas.poty@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: Major upgrade from 9.6.10 to 10.6 and pg_stat_statement update
Date: Wed, 30 Jan 2019 07:29:07 -0800
Message-ID: <1828a722-180b-09fb-67eb-474527530dde@aklaver.com> (raw)
In-Reply-To: <CAN_ctnjnB562tRT9EBNozeLuaX3UxhVL=1Y-5-Sdmw4DxE32wQ@mail.gmail.com>
References: <CAN_ctnjnB562tRT9EBNozeLuaX3UxhVL=1Y-5-Sdmw4DxE32wQ@mail.gmail.com>

On 1/30/19 7:14 AM, Thomas Poty wrote:
> Hi,
> 
> I am about to upgrade from 9.6.10 to 10.6 .
> I read, in the release notes of the 9.6.11 and of the 10.6, an "alter 
> extension pg_stat_statements update" must be done.
> 
> So, after my upgrade, must the update of pg_statements be done ?

Per the notes:

https://www.postgresql.org/docs/10/release-10-6.html#id-1.11.6.5.4

"In contrib/pg_stat_statements, disallow the pg_read_all_stats role from 
executing pg_stat_statements_reset() (Haribabu Kommi)

pg_read_all_stats is only meant to grant permission to read statistics, 
not to change them, so this grant was incorrect.

To cause this change to take effect, run ALTER EXTENSION 
pg_stat_statements UPDATE in each database where pg_stat_statements has 
been installed.
"

So if you have the extension installed then yes. You can check in each 
database, using the psql command:

\dx


> 
> Thanks
> 
> Thomas


-- 
Adrian Klaver
adrian.klaver@aklaver.com




view thread (2+ messages)

Message-ID: <1828a722-180b-09fb-67eb-474527530dde@aklaver.com>
Permalink:  ../1828a722-180b-09fb-67eb-474527530dde@aklaver.com/
Also on:    postgresql.org/message-id/1828a722-180b-09fb-67eb-474527530dde@aklaver.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, thomas.poty@gmail.com
  Subject: Re: Major upgrade from 9.6.10 to 10.6 and pg_stat_statement update
  In-Reply-To: <1828a722-180b-09fb-67eb-474527530dde@aklaver.com>
  References: <CAN_ctnjnB562tRT9EBNozeLuaX3UxhVL=1Y-5-Sdmw4DxE32wQ@mail.gmail.com> <1828a722-180b-09fb-67eb-474527530dde@aklaver.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox