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:57:12 +0200 |
commit | 3d4652f67d1f6c896f4bc836e08f38aaa0b3de41 (patch) | |
tree | 84a84729884017ed0933e3457b2da44421b503df /src/backend/commands/tablecmds.c | |
parent | b3fa6d016d826039799686d68aa27a4bee3e6052 (diff) | |
download | postgresql-3d4652f67d1f6c896f4bc836e08f38aaa0b3de41.tar.gz postgresql-3d4652f67d1f6c896f4bc836e08f38aaa0b3de41.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/commands/tablecmds.c')
0 files changed, 0 insertions, 0 deletions