Re: Add annotation syntax to pg_hba.conf entries

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Jim Jones <jim(dot)jones(at)uni-muenster(dot)de>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, Daniel Gustafsson <daniel(at)yesql(dot)se>, Peter Eisentraut <peter(at)eisentraut(dot)org>
Subject: Re: Add annotation syntax to pg_hba.conf entries
Date: 2023-10-04 20:18:50
Message-ID: CA+TgmoZw9DpGOsdF6ROO_o9YtTEH2j0k7b_0iALM5Z9=VQDbTQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Oct 4, 2023 at 4:06 PM Jim Jones <jim(dot)jones(at)uni-muenster(dot)de> wrote:
> Any thoughts?

You're probably not going to like this answer very much, but this
doesn't seem particularly worthwhile to me. If somebody needs to
document why they did something in pg_hba.conf, they can already put a
comment in the file to explain that. Or they can track the reasons for
what's in the file using some completely external system, like a
Google document or a git repository or whatever. The argument for this
feature is not that this information needs to exist, but that it needs
to be queryable from within PostgreSQL. And I guess I just wonder if
that is something that users in general want. It's not a terrible idea
or anything, but it would be sad if we added such a feature and you
were the only one who ever used it... and if a bunch of people now
show up and say "actually, this would be great, I would totally like
to have that," well, then, forget I said anything.

--
Robert Haas
EDB: http://www.enterprisedb.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Davis 2023-10-04 20:38:15 Re: Pre-proposal: unicode normalized text
Previous Message Amit Kapila 2023-10-04 20:18:02 Re: [PoC] pg_upgrade: allow to upgrade publisher node