Re: Show inline comments from pg_hba lines in the pg_hba_file_rules view - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Show inline comments from pg_hba lines in the pg_hba_file_rules view
Date
Msg-id ZPHAiNp+yKMsa/vc@paquier.xyz
Whole thread Raw
In response to Re: Show inline comments from pg_hba lines in the pg_hba_file_rules view  (Jim Jones <jim.jones@uni-muenster.de>)
Responses Re: Show inline comments from pg_hba lines in the pg_hba_file_rules view
List pgsql-hackers
On Fri, Sep 01, 2023 at 11:32:35AM +0200, Jim Jones wrote:
> Would you be in favor of parsing #comments instead? Given that # is
> currently already being parsed (ignored), it shouldn't add too much
> complexity to the code.

I am not sure what you have in mind, but IMO any solution would live
better as long as a solution is:
- not linked to hba.c, handled in a separate code path.
- linked to all configuration files where comments are supported, if
need be.

Perhaps others have more opinions.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Jim Jones
Date:
Subject: Re: PATCH: Add REINDEX tag to event triggers
Next
From: Vik Fearing
Date:
Subject: Re: SQL:2011 application time