Обсуждение: Get current_user in statistics

Поиск
Список
Период
Сортировка

Get current_user in statistics

От
th@gesteam.fr
Дата:
Hi,

The usename column in pg_stat_activity is the session_user.
Is there a way to get a column with the current_user (different after
the use of SET ROLE)?

Thanks
--
Thierry Hauchard
Gesteam