Re: Fix doc about pg_get_multixact_stats()
От
Michael Paquier
Тема
Re: Fix doc about pg_get_multixact_stats()
Дата
Msg-id
aj28s7x9MofQ2pBl@paquier.xyz
Список
Дерево обсуждения
Fix doc about pg_get_multixact_stats() Yingying Chen <cyy9255@gmail.com>
On Fri, Jun 26, 2026 at 07:15:37AM +0800, Chao Li wrote: > From the implementation, for unprivileged (not super user and not > pg_read_all_stats role) users, pg_get_multixact_stats doesn't raise > an error, but just returns all NULL values. The current statement > doesn't seem to explain that behavior clearly. > > How about rephrasing it like this? > ``` > > Only superusers and roles with privileges of the > pg_read_all_stats role can see details; other users > receive null values. > > ``` Yeah, that looks like an improvement over the statu-quo. I was looking for something similar but we don't have many functions hidden behind a role privilege. -- Michael
В списке pgsql-hackers по дате отправления