Re: pg_hosts: Add pg_hosts_file_rules()

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-16 14:28:14
Message-ID: CAN4CZFNaSDJqL2Ti7=ia43w5ndYBd4dYTQ-p4rS1GT4vJ4_DEQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> One thing I noticed (and had missed before) is that we should SELECT from the
> view and not the function.

I keep referring to it by the function name everywhere, even in the
commit message... fixed, it's now only used for the view definition.

I also added ifdefs around fill_hosts_line.

Attachment Content-Type Size
v4-0001-Add-pg_hosts_file_rules-to-inspect-the-hosts-conf.patch application/octet-stream 20.4 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2026-07-16 14:29:13 Re: [PATCH] pg_upgrade: add --initdb option to create the new cluster automatically
Previous Message Tom Lane 2026-07-16 14:22:45 Re: Type assertions without GCC builtins