diff options
author | Magnus Hagander <magnus@hagander.net> | 2020-04-20 12:53:40 +0200 |
---|---|---|
committer | Magnus Hagander <magnus@hagander.net> | 2020-04-20 12:53:40 +0200 |
commit | 7e4e574744c13aac613909a59bf38ef5aae5bd8c (patch) | |
tree | f01b8c3822726ed1694413c838907137b536c2d8 /src/backend/utils/adt/arrayfuncs.c | |
parent | 9aece5cd05f1b21b67eac0dc4f105853eec3e4eb (diff) | |
download | postgresql-7e4e574744c13aac613909a59bf38ef5aae5bd8c.tar.gz postgresql-7e4e574744c13aac613909a59bf38ef5aae5bd8c.zip |
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
Diffstat (limited to 'src/backend/utils/adt/arrayfuncs.c')
0 files changed, 0 insertions, 0 deletions