| From: | Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com> |
|---|---|
| To: | Daniel Gustafsson <daniel(at)yesql(dot)se> |
| Cc: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: pg_hosts: Add pg_hosts_file_rules() |
| Date: | 2026-07-15 22:10:48 |
| Message-ID: | CAN4CZFNQR4Nd2+LGfeuwfkunwGuNS5nZbv-GRxResntSkqx72g@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
> If you can find a good way to do it without convoluting the testfile which
> currently just does a skip_all in case of LibreSSL, then why not. If it reduce
> readability of the test file then it's probably not worth it since it's not
> using any different codepaths from the OpenSSL counterpart.
Done. I added an if with an early exit instead of the skip, it seems
to work properly with a local LibreSSL build I tested and I think it
looks okay.
> It also makes more sense to me to first test parsing, and then parsing+loading.
Also done. I also modified the test to use a connection string so that
I don't have to add a trust entry to pg_hba before the connection
tests.
| Attachment | Content-Type | Size |
|---|---|---|
| v3-0001-Add-pg_hosts_file_rules-to-inspect-the-hosts-conf.patch | application/octet-stream | 20.1 KB |
| From | Date | Subject | |
|---|---|---|---|
| Previous Message | Melanie Plageman | 2026-07-15 21:58:08 | Re: Why clearing the VM doesn't require registering vm buffer in wal record |