Re: Today's Postgres Releases break login roles
Matthew Woodcraft <matthew@woodcraft.me.uk>
From: Matthew Woodcraft <matthew@woodcraft.me.uk>
To: pgsql-bugs@lists.postgresql.org
Cc: Etienne LAFARGE <etienne.lafarge@gmail.com>
Date: 2024-11-16T10:45:30Z
Lists: pgsql-bugs
Etienne LAFARGE <etienne.lafarge@gmail.com> writes: > Today, when upgrading from Postgres 15.8 to 15.9, we realized that the > login role set for a user (with ALTER USER my_user SET ROLE my_role) was > not automatically set upon login any more. I noticed one other change with the 14.14 point release, which I think is likely to be related. Previously a command like this would work to select a role immediately after login: psql "options='-crole=foo'" With 14.14 as far as I can tell it has no effect. -M-
Commits
-
Test "options=-crole=" and "ALTER DATABASE SET role".
- 5de08f136ad6 18.0 landed
-
Fix per-session activation of ALTER {ROLE|DATABASE} SET role.
- c463338656ac 12.22 landed
- be062bfa54d7 14.15 landed
- 07c6e0f61361 13.18 landed
- edf80895f6bd 15.10 landed
- b0918c1286d3 16.6 landed
- 1c05004a8953 17.2 landed
- 7b88529f4363 18.0 landed