pgsql: Add authentication TAP test for peer authentication

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add authentication TAP test for peer authentication
Date: 2022-10-03 07:42:48
Message-ID: E1ofG6C-000gga-7H@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add authentication TAP test for peer authentication

This commit introduces an authentication test for the peer method, as of
a set of scenarios with and without a user name map. The script is
automatically skipped if peer is not supported in the environment where
this test is run, checking this behavior by attempting a connection
first on a cluster up and running.

Author: Bertrand Drouvot
Discussion: https://postgr.es/m/aa60994b-1c66-ca7a-dab9-9a200dbac3d2@amazon.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f60eb3f2827db292edf71bb7296fbdf5958ace3d

Modified Files
--------------
src/test/authentication/meson.build | 1 +
src/test/authentication/t/003_peer.pl | 102 ++++++++++++++++++++++++++++++++++
2 files changed, 103 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2022-10-03 14:56:35 pgsql: Revert "Optimize order of GROUP BY keys".
Previous Message Michael Paquier 2022-10-03 06:28:51 Re: pg_upgrade test failure