Re: Unfriendly handling of pg_hba SSL options with SSL off

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Unfriendly handling of pg_hba SSL options with SSL off
Date: 2011-05-11 18:48:33
Message-ID: BANLkTikZuv1X+SG+RmEQ1YSg9QcxAzhSwQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, May 10, 2011 at 05:39, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Bruce Momjian <bruce(at)momjian(dot)us> writes:
>> Late reply, but we are basically ignoring 'local' lines if the build
>> doesn't support unix domain sockets (windows), but throwing an error for
>> hostssl usage if ssl is not compiled in.  Is the only logic here that
>> 'local' is part of the default pg_hba.conf and hostssl is not?  Is that
>> good logic?
>
> 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.

--
 Magnus Hagander
 Me: http://www.hagander.net/
 Work: http://www.redpill-linpro.com/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2011-05-11 18:51:30 Re: Tables cannot have INSTEAD OF triggers
Previous Message Josh Berkus 2011-05-11 18:48:18 Re: Standbys which don't synch to disk?