Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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?


pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group