Re: Unfriendly handling of pg_hba SSL options with SSL off

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Magnus Hagander <magnus@hagander.net>
Cc: Bruce Momjian <bruce@momjian.us>, Peter Eisentraut <peter_e@gmx.net>, Robert Haas <robertmhaas@gmail.com>, pgsql-hackers@postgresql.org
Date: 2011-05-12T22:21:50Z
Lists: pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> On Tue, May 10, 2011 at 05:39, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> I wouldn't have a problem with making the Windows port throw an error
>> for "local" lines. We'd have to fix initdb to remove that line from the
>> sample file (if it doesn't already), but that's surely not hard.

> It does already (that's what the @remove-line-for-nolocal@ markup in
> the sample file is for).

> So +1 for making it throw an error.

Although this should be a simple change, I don't want to do it because
I'm not in a position to test it.  Do you want to take care of it?

			regards, tom lane