Thread: pgsql: Test "options=-crole=" and "ALTER DATABASE SET role".

pgsql: Test "options=-crole=" and "ALTER DATABASE SET role".

From
Noah Misch
Date:
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5de08f136ad690cde9a99c09c398ddb0c9272f11

Modified Files
--------------
src/test/modules/unsafe_tests/Makefile             |  2 +
.../modules/unsafe_tests/expected/setconfig.out    | 76 ++++++++++++++++++++--
src/test/modules/unsafe_tests/meson.build          |  4 +-
src/test/modules/unsafe_tests/sql/setconfig.sql    | 53 ++++++++++++++-
4 files changed, 128 insertions(+), 7 deletions(-)