pgsql: Add checks for regexes with user name map in test for peer authe

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add checks for regexes with user name map in test for peer authe
Date: 2022-10-17 02:14:39
Message-ID: E1okFeI-002hZq-Mw@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add checks for regexes with user name map in test for peer authentication

There is already some coverage for that in the kerberos test suite,
though it requires PG_TEST_EXTRA to be set as per its insecure nature.
This provides coverage in a default setup, as long as peer is supported
on the platform where its test is run.

Author: Bertrand Drouvot
Discussion: https://postgr.es/m/7f87ca27-e184-29da-15d6-8be4325ad02e@gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7622422b725eb4b7403c33a9e4986e0ed9826cbd

Modified Files
--------------
src/test/authentication/t/003_peer.pl | 60 ++++++++++++++++++++++++++++++++---
1 file changed, 55 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2022-10-17 02:40:36 pgsql: Fix calculation related to temporary WAL segment name in basic_a
Previous Message Tom Lane 2022-10-16 23:18:22 pgsql: Fix EXPLAIN of SEARCH BREADTH FIRST with a constant initial valu