Re: Postgres 10, changing user by "set role {user};" doesn't use thatusers "default_transaction_isolation" - Mailing list pgsql-bugs

From David G. Johnston
Subject Re: Postgres 10, changing user by "set role {user};" doesn't use thatusers "default_transaction_isolation"
Date
Msg-id CAKFQuwYO=OvMRKBxrXwBSTvqmVzK+UBiEXJfv9xg-GQk0qDxOA@mail.gmail.com
Whole thread Raw
In response to Postgres 10, changing user by "set role {user};" doesn't use thatusers "default_transaction_isolation"  ("Lacey, Nathan" <nlacey@novetta.com>)
Responses Re: Postgres 10, changing user by "set role {user};" doesn't use thatusers "default_transaction_isolation"  ("Lacey, Nathan" <nlacey@novetta.com>)
List pgsql-bugs
On Tue, Jan 15, 2019 at 11:49 AM Lacey, Nathan <nlacey@novetta.com> wrote:
> ALTER USER {user} SET default_transaction_isolation TO 'repeatable read';

"SET ROLE does not process session variables as specified by the
role's ALTER ROLE settings; this only happens during login."

https://www.postgresql.org/docs/11/sql-set-role.html

David J.


pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #15587: Partitions with ALTER TABLE ADD CONSTRAINT
Next
From: "Lacey, Nathan"
Date:
Subject: Re: Postgres 10, changing user by "set role {user};" doesn't use thatusers "default_transaction_isolation"