| From: | solai v <solai(dot)cdac(at)gmail(dot)com> |
|---|---|
| To: | Zsolt Parragi <zsolt(dot)parragi(at)percona(dot)com> |
| Cc: | Daniel Gustafsson <daniel(at)yesql(dot)se>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: pg_hosts: Add pg_hosts_file_rules() |
| Date: | 2026-07-16 11:46:21 |
| Message-ID: | CAF0whucmhnOtN_3hVHu6rpUoamVK8j64wfp_E5r78qOgQHFJWA@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi,
I tested the latest v3 patch on PostgreSQL 20devel.
The patch applied cleanly, and the build and installation completed
without any issues. Since the patch adds a new built-in function, I
created a fresh cluster with initdb before testing.
Before applying the patch, pg_hosts_file_rules() was not available,
and calling it resulted in a "function does not exist" error.
After applying the patch, rebuilding, and starting the new cluster, I
confirmed that the pg_hosts_file_rules() function is present. Both \df
pg_hosts_file_rules and SELECT * FROM pg_hosts_file_rules(); worked as
expected. With an empty pg_hosts.conf, the function returned zero
rows, which is the expected behavior. I also verified that the
pg_hosts_file_rules view works correctly.
I didn't notice any issues during my testing.
Regards,
solai
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Thom Brown | 2026-07-16 11:46:27 | Re: walsummarizer can get stuck when switching timelines |
| Previous Message | Amit Langote | 2026-07-16 11:32:11 | Re: ri_Fast* crash w/ nullable UNIQUE constraint |