Re: Use "samehost" by default in pg_hba.conf?

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Use "samehost" by default in pg_hba.conf?
Date: 2009-10-01 02:39:01
Message-ID: 603c8f070909301939h35d27825r1c686079a409559b@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Sep 30, 2009 at 10:08 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> The advantage of this is that connections made with "-h machine_name"
> instead of "-h localhost" would work without customization.  I can't
> see any disadvantage to it.  Making the change now would also give
> us an opportunity to test the samehost/samenet implementation in the
> buildfarm, at least for machines without Unix sockets.
>
> (Note that you would still need a non-default setting of
> listen_addresses for "-h machine_name" to actually work.)
>
> Comments?

I don't see much advantage in this proposal, at least not immediately.
If it turns out to be a wildly popular feature and doesn't turn out
to introduce security vulnerabilities or breakage, we can always make
this change later.

...Robert

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Itagaki Takahiro 2009-10-01 02:40:27 Re: Buffer usage in EXPLAIN and pg_stat_statements (review)
Previous Message Stephen Frost 2009-10-01 02:34:10 Re: Use "samehost" by default in pg_hba.conf?