Re: [PATCH] Add peer authentication TAP test

Anton A. Melnikov <aamelnikov@inbox.ru>

From: "Anton A. Melnikov" <aamelnikov@inbox.ru>
To: "Drouvot, Bertrand" <bertranddrouvot.pg@gmail.com>, Michael Paquier <michael@paquier.xyz>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-11-25T04:56:08Z
Lists: pgsql-hackers

Attachments

Hello!

On Windows this test fails with error:
# connection error: 'psql: error: connection to server at "127.0.0.1", port xxxxx failed:
# FATAL:  no pg_hba.conf entry for host "127.0.0.1", user "buildfarm", database "postgres", no encryption'

May be disable this test for windows like in 001_password.pl and 002_saslprep.pl?


Best wishes,
-- 
Anton A. Melnikov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

Commits

  1. Skip TAP test for peer authentication if there are no unix-domain sockets

  2. Add authentication TAP test for peer authentication