pg_hba.conf pre-parsing change

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: pg_hba.conf pre-parsing change
Date: 2001-07-31 23:05:06
Message-ID: 27786.996620706@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Bruce Momjian - CVS <momjian(at)hub(dot)org> writes:
> Load pg_hba.conf and pg_ident.conf on startup and SIGHUP into List of
> Lists, and use that for user validation.

While this should be a nice speedup, it bothers me somewhat that the old
behavior of reacting immediately to pg_hba.conf and pg_ident.conf
updates has been changed. (And you didn't update the documentation to
say so --- tsk tsk.)

Would it make sense to do fstat calls on these files and reload whenever
we observe that the file modification time has changed? That'd be an
additional kernel call per connection attempt, so I'm not at all sure
I want to do it ... but it ought to be debated. Comments anyone?

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2001-07-31 23:14:49 Re: pg_hba.conf pre-parsing change
Previous Message Tom Lane 2001-07-31 22:55:45 pgsql/src backend/libpq/hba.c backend/postmast ...

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-07-31 23:11:34 Re: Re: [PATCHES] Allow IDENT authentication on local connections (Linux only)
Previous Message Bruce Momjian 2001-07-31 21:53:05 Re: [PATCHES] Allow IDENT authentication on local connections (Linux only)