Location of ident code - Mailing list pgsql-hackers

From Magnus Hagander
Subject Location of ident code
Date
Msg-id 488F2C33.9020208@hagander.net
Whole thread Raw
List 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


pgsql-hackers by date:

Previous
From: "Heikki Linnakangas"
Date:
Subject: Re: [PATCHES] odd output in restore mode
Next
From: Alvaro Herrera
Date:
Subject: Re: pg_regress inputdir