Location of ident code

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: PG Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Location of ident code
Date: 2008-07-29 14:41:55
Message-ID: 488F2C33.9020208@hagander.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Does anybody know if there's a reason why the ident code lives in hba.c,
but all other authentication code lives in auth.c? Is it just the fact
that ident supports the pg_ident.conf file, for which the processing is
located there, or is there some deeper reason?

I came across this while looking at extending the usemap stuff to work
with other authentication methods as well, and cleaning up some of the
parameter parsing in pg_hba.conf, per some of the discussions at pgcon.
So if nobody knows any other reasons for it to be there, I'd like to
move the ident stuff over to auth.c for clarity. Any objections to that
in principle?

//Magnus

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2008-07-29 14:43:54 Re: pg_regress inputdir
Previous Message Heikki Linnakangas 2008-07-29 14:27:23 Re: [PATCHES] odd output in restore mode