Re: Possible regression setting GUCs on \connect
David Steele <david@pgmasters.net>
From: David Steele <david@pgmasters.net>
To: Alexander Korotkov <akorotkov@postgresql.org>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>, Tom Lane <tgl@sss.pgh.pa.us>
Date: 2023-04-27T16:35:25Z
Lists: pgsql-hackers
On 4/27/23 19:13, Tom Lane wrote: > David Steele <david@pgmasters.net> writes: >> I have been updating pgAudit for PG16 and ran into the following issue >> in the regression tests: >> \connect - user1 >> WARNING: permission denied to set parameter "pgaudit.log_level" >> This happens after switching back and forth a few times between the >> current user when the regression script was executed and user1 which is >> created in the script. Specifically, it happens at [1]. > > If this is new in v16, I'm inclined to blame 096dd80f3, but that's > just a guess without a test case. Seems plausible. This can be reproduced by cloning [1] into contrib and running `make check`. I can work out another test case but it may not end up being simpler. Thoughts on this Alexander? [1] https://github.com/pgaudit/pgaudit/tree/dev-pg16-ci
Commits
-
Revert "Add USER SET parameter values for pg_db_role_setting"
- b9a7a822723a 16.0 landed
-
Fix wrong construct_array_builtin() call in GUCArrayDelete()
- db93e739ac61 16.0 landed
-
In hstore_plpython, avoid crashing when return value isn't a mapping.
- df38157d9466 16.0 cited
-
Allow granting SET and ALTER SYSTEM privileges on GUC parameters.
- a0ffa885e478 15.0 cited