Test "options=-crole=" and "ALTER DATABASE SET role".
authorNoah Misch <noah@leadboat.com>
Sun, 24 Nov 2024 20:49:53 +0000 (12:49 -0800)
committerNoah Misch <noah@leadboat.com>
Sun, 24 Nov 2024 20:49:53 +0000 (12:49 -0800)
commit5de08f136ad690cde9a99c09c398ddb0c9272f11
tree1db6ba6257ecf33c82d880e2aeea6d03223a9bed
parentae4569161a27823793ca24825bbabce2a91a0bc9
Test "options=-crole=" and "ALTER DATABASE SET role".

Commit 7b88529f4363994450bd4cd3c172006a8a77e222 fixed a regression
spanning these features, but it didn't test them.  It did test code
paths sufficient for their present implementations, so no back-patch.

Reported by Matthew Woodcraft.

Discussion: https://postgr.es/m/87iksnsbhx.fsf@golux.woodcraft.me.uk
src/test/modules/unsafe_tests/Makefile
src/test/modules/unsafe_tests/expected/setconfig.out
src/test/modules/unsafe_tests/meson.build
src/test/modules/unsafe_tests/sql/setconfig.sql