Re: default pg_hba.conf tabulation

From: David Fetter <david(at)fetter(dot)org>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Josh Berkus <josh(at)agliodbs(dot)com>, Magnus Hagander <magnus(at)hagander(dot)net>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: default pg_hba.conf tabulation
Date: 2010-01-26 04:11:19
Message-ID: 20100126041119.GH31281@fetter.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Jan 25, 2010 at 05:29:54PM -0500, Bruce Momjian wrote:
> Josh Berkus wrote:
> > On 1/25/10 1:24 PM, Magnus Hagander wrote:
> > > 2010/1/25 Peter Eisentraut <peter_e(at)gmx(dot)net>:
> > >> When editing pg_hba.conf, I often instinctively try to use tabs, only to
> > >> be slightly annoyed because that barely doesn't work out relative to the
> > >> default entries, because those are aligned at column 0, 8, 20, 32, 54:
> > >>
> > >> # TYPE DATABASE USER CIDR-ADDRESS METHOD
> > >> host all all 127.0.0.1/32 trust
> > >>
> > >> Would it be OK to alter that to something like 0, 8, 24, 40, 56:
> > >>
> > >> # TYPE DATABASE USER CIDR-ADDRESS METHOD
> > >> host all all 127.0.0.1/32 trust
> > >
> > > Sounds good to me.
> >
> > I can't see anyone objecting.
>
> Can we also change the "USER" column heading to "ROLE"?

Does pg_hba.conf actually control any roles other than ones with
login? If not, USER is clearer, at least to me.

Cheers,
David.
--
David Fetter <david(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com
iCal: webcal://www.tripit.com/feed/ical/people/david74/tripit.ics

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Davis 2010-01-26 04:59:59 Re: default_language
Previous Message Greg Stark 2010-01-26 03:56:39 Re: Fwd: Questions about connection clean-up and "invalid page header"