Обсуждение: Location of ident code

Поиск
Список
Период
Сортировка

Location of ident code

От
Magnus Hagander
Дата:
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