Refactor TAP test authentication/001_password.pl
Michael Paquier <michael@paquier.xyz>
Refactor TAP test authentication/001_password.pl The test is changed to test for connection strings rather than specific roles, and the reset logic of pg_hba.conf is extended so as the database and user name entries can be directly specified. This is aimed at being used as a base for more test scenarios of pg_hba.conf and authentication paths. Author: Bertrand Drouvot, Michael Paquier Discussion: https://postgr.es/m/Yz0xO0emJ+mxtj2a@paquier.xyz
Files
| Path | Change | +/− |
|---|---|---|
| src/test/authentication/t/001_password.pl | modified | +31 −29 |
Discussion
- Patch proposal: make use of regular expressions for the username in pg_hba.conf 37 messages · 2022-08-19 → 2022-10-24