Re: pg_hba.conf additional comment re local line - Mailing list pgsql-patches

From Andrew Dunstan
Subject Re: pg_hba.conf additional comment re local line
Date
Msg-id 41508BD7.5080609@dunslane.net
Whole thread Raw
In response to Re: pg_hba.conf additional comment re local line  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-patches

Peter Eisentraut wrote:

>Andrew Dunstan wrote:
>
>
>>The attached tiny patch will possibly help to avoid some confusion by
>>Windows users about the "local" line in pg_hba.conf (and thus help
>>reduce queries to us ;-) ). It also removes an essentially
>>content-free suffix in 2 nearby comment lines.
>>
>>
>
>Maybe initdb should just remove those lines on Windows.
>
>
>

You are probably right. initdb's filtering capabilities are (by design)
rather primitive - I didn't want to clutter it up with regex code - so
it's a bit less easy than it might otherwise be.

This patch was done as a "quick fix".

If someone doesn't beat me to it I will try to look at initdb in the
next week or so.

cheers

andrew

pgsql-patches by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: pg_hba.conf additional comment re local line
Next
From: Tom Lane
Date:
Subject: Re: pg_hba.conf additional comment re local line