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

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Test "options=-crole=" and "ALTER DATABASE SET role".
Date: 2024-11-24 20:50:38
Message-ID: E1tFJZ0-003Mb6-A8@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2024-11-25 00:16:25 pgsql: doc: Fix example with __next__() in PL/Python function
Previous Message Alexander Korotkov 2024-11-24 00:00:22 pgsql: Teach bitmap path generation about transforming OR-clauses to SA