Re: pg_hba.conf: samehost and samenet

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: stef(at)memberwebs(dot)com
Cc: Magnus Hagander <magnus(at)hagander(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_hba.conf: samehost and samenet
Date: 2009-08-25 20:39:50
Message-ID: 20090825203950.GM12604@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Something is very wrong here -- this message does not have a
message-id!

Stef Walter wrote:
> Magnus Hagander wrote:
> > On Wed, Aug 19, 2009 at 15:02, Stef Walter<stef-list(at)memberwebs(dot)com> wrote:
> >> Magnus Hagander wrote:
> >>> On Wed, Aug 19, 2009 at 03:58, Stef Walter<stef-list(at)memberwebs(dot)com> wrote:
> >>>> Attached is a new patch, which I hope addresses all the concerns raised.
> >>> I think you forgot to actually attach the patch....
> >> Whoops. Here it is.
> >
> > Is there any actual advantage to using getifaddr() on Linux,
>
> It is in my opinion, it is the most modern and maintainable of the
> methods for obtaining network interface address information. Various
> unixes have added support for getifaddr() over the years, and (again my
> opinion) would probably continue to do so.
>
> > and not
> > just use SIOCGIFCONF for all Unixen?
>
> I do know that using SIOCGIFCONF on AIX comes with strange wrinkles and
> variable length data structures etc... getifaddrs() on AIX is a far more
> maintainable interface.
>
> That said, I'll adjust the patch as you feel is best for the long term
> inclusion in the postgresql source.
>
> Cheers,
>
> Stef
>
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2009-08-25 20:41:00 Re: We should Axe /contrib/start-scripts
Previous Message Kevin Grittner 2009-08-25 20:27:22 Re: We should Axe /contrib/start-scripts