Obtenez un rôle postgres
SELECT rolname FROM pg_roles;
Colorful Centipede
SELECT rolname FROM pg_roles;
SELECT current_user; -- user name of current execution context
SELECT session_user; -- session user name