Re: Revoke execution permission of pg_stat_statements_reset() from pg_read_all_stats role
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael@paquier.xyz>
Cc: Haribabu Kommi <kommi.haribabu@gmail.com>,
pgsql-hackers@lists.postgresql.org,
Amit Kapila <amit.kapila16@gmail.com>, Dave Page <dpage@pgadmin.org>,
Simon Riggs <simon@2ndquadrant.com>,
Fujii Masao <masao.fujii@gmail.com>
Date: 2018-09-24T16:02:35Z
Lists: pgsql-hackers
Michael Paquier <michael@paquier.xyz> writes: > This should be back-patched. Any opinions about bumping up this > extension version in back-branches like what has been done in 53b79ab4? Yes, you need to bump the extension version to change anything in the extension's script file. For v10 and up, the method used in 53b79ab4 is overcomplicated: you only need to add a delta script not a new base script. (If you had to back-patch before v10, it might be best to add a new base script in all the branches just to keep the patches consistent; but IIUC this issue only arises in v10 and up.) I'd consider following, eg, 7f563c09f as a prototype instead. regards, tom lane
Commits
-
Revoke pg_stat_statements_reset() permissions
- 90a1f97867fe 10.6 landed
- a3bb831efebf 11.0 landed
- edb979766054 12.0 landed
-
Default monitoring roles
- 25fff40798fc 10.0 cited