Re: pg_hosts: Add pg_hosts_file_rules() - Mailing list pgsql-hackers

From solai v
Subject Re: pg_hosts: Add pg_hosts_file_rules()
Date
Msg-id CAF0whucmhnOtN_3hVHu6rpUoamVK8j64wfp_E5r78qOgQHFJWA@mail.gmail.com
Whole thread
In response to Re: pg_hosts: Add pg_hosts_file_rules()  (Zsolt Parragi <zsolt.parragi@percona.com>)
List 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



pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: Re: ri_Fast* crash w/ nullable UNIQUE constraint
Next
From: Thom Brown
Date:
Subject: Re: walsummarizer can get stuck when switching timelines