pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Allow pg_read_all_stats to access all stats views again
4+ messages / 1 participants
[nested] [flat]

* pgsql: Allow pg_read_all_stats to access all stats views again
@ 2020-04-20 11:05 Magnus Hagander <magnus@hagander.net>
  0 siblings, 0 replies; 4+ messages in thread

From: Magnus Hagander @ 2020-04-20 11:05 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Allow pg_read_all_stats to access all stats views again

The views pg_stat_progress_* had not gotten the memo that
pg_read_all_stats is supposed to be able to read all statistics. Also
make a pass over all text-returning pg_stat_xyz functions that could
return "insufficient privilege" and make sure they also respect
pg_read_all_status.

Reported-by: Andrey M. Borodin
Reviewed-by: Andrey M. Borodin, Kyotaro Horiguchi
Discussion: https://postgr.es/m/13145F2F-8458-4977-9D2D-7B2E862E5722@yandex-team.ru

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7e4e574744c13aac613909a59bf38ef5aae5bd8c

Modified Files
--------------
src/backend/utils/adt/pgstatfuncs.c | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Allow pg_read_all_stats to access all stats views again
@ 2020-04-20 11:05 Magnus Hagander <magnus@hagander.net>
  0 siblings, 0 replies; 4+ messages in thread

From: Magnus Hagander @ 2020-04-20 11:05 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Allow pg_read_all_stats to access all stats views again

The views pg_stat_progress_* had not gotten the memo that
pg_read_all_stats is supposed to be able to read all statistics. Also
make a pass over all text-returning pg_stat_xyz functions that could
return "insufficient privilege" and make sure they also respect
pg_read_all_status.

Reported-by: Andrey M. Borodin
Reviewed-by: Andrey M. Borodin, Kyotaro Horiguchi
Discussion: https://postgr.es/m/13145F2F-8458-4977-9D2D-7B2E862E5722@yandex-team.ru

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/212e712a5eed31828e6ffc5e61ca76fd477a519f

Modified Files
--------------
src/backend/utils/adt/pgstatfuncs.c | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Allow pg_read_all_stats to access all stats views again
@ 2020-04-20 11:05 Magnus Hagander <magnus@hagander.net>
  0 siblings, 0 replies; 4+ messages in thread

From: Magnus Hagander @ 2020-04-20 11:05 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Allow pg_read_all_stats to access all stats views again

The views pg_stat_progress_* had not gotten the memo that
pg_read_all_stats is supposed to be able to read all statistics. Also
make a pass over all text-returning pg_stat_xyz functions that could
return "insufficient privilege" and make sure they also respect
pg_read_all_status.

Reported-by: Andrey M. Borodin
Reviewed-by: Andrey M. Borodin, Kyotaro Horiguchi
Discussion: https://postgr.es/m/13145F2F-8458-4977-9D2D-7B2E862E5722@yandex-team.ru

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/3d4652f67d1f6c896f4bc836e08f38aaa0b3de41

Modified Files
--------------
src/backend/utils/adt/pgstatfuncs.c | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* pgsql: Allow pg_read_all_stats to access all stats views again
@ 2020-04-20 11:05 Magnus Hagander <magnus@hagander.net>
  0 siblings, 0 replies; 4+ messages in thread

From: Magnus Hagander @ 2020-04-20 11:05 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Allow pg_read_all_stats to access all stats views again

The views pg_stat_progress_* had not gotten the memo that
pg_read_all_stats is supposed to be able to read all statistics. Also
make a pass over all text-returning pg_stat_xyz functions that could
return "insufficient privilege" and make sure they also respect
pg_read_all_status.

Reported-by: Andrey M. Borodin
Reviewed-by: Andrey M. Borodin, Kyotaro Horiguchi
Discussion: https://postgr.es/m/13145F2F-8458-4977-9D2D-7B2E862E5722@yandex-team.ru

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/d0bb66572e3326b40515cbf62ec11b3339bbf914

Modified Files
--------------
src/backend/utils/adt/pgstatfuncs.c | 23 ++++++++++++-----------
1 file changed, 12 insertions(+), 11 deletions(-)



^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2020-04-20 11:05 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-04-20 11:05 pgsql: Allow pg_read_all_stats to access all stats views again Magnus Hagander <magnus@hagander.net>
2020-04-20 11:05 pgsql: Allow pg_read_all_stats to access all stats views again Magnus Hagander <magnus@hagander.net>
2020-04-20 11:05 pgsql: Allow pg_read_all_stats to access all stats views again Magnus Hagander <magnus@hagander.net>
2020-04-20 11:05 pgsql: Allow pg_read_all_stats to access all stats views again Magnus Hagander <magnus@hagander.net>

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