initdb -A ident, with params

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: initdb -A ident, with params
Date: 2011-03-14 09:28:33
Message-ID: AANLkTikyy3KhyJuGkPU37f+WAUDSapk0mHoFKyV=BH94@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

In looking at the "peer patch", I notice that initdb still supports
things like "-A ident map=foo", but it *only* supports this for ident,
and nothing else. I'm pretty sure this is a leftover from the "ident
sameuser" days, so that things like the RPM install could set it
properly. Since this is not needed any more, I propose we take that
out and make ident work the same way as any other authentication
methods.

At some point we might want to extend initdb to support any parameters
(with validation, of course), but that's a much bigger thing. Just
removing the (undocumented, btw) special case would make things more
consistent.

Thoughts?

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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Devrim GÜNDÜZ 2011-03-14 09:42:33 Re: initdb -A ident, with params
Previous Message Magnus Hagander 2011-03-14 09:19:07 Re: pg_basebackup and wal streaming