Steps to duplicate
ALTER USER {user} SET default_transaction_isolation TO 'repeatable read';
psql -U {user}
SHOW default_transaction_isolation;
with correctly show 'repeatable read'
psql (default with postgres)
set role {user};
SHOW default_transaction_isolation;
will incorrectly show postgres's value?
'read committed'
Thanks for the Awesome work.