Re: Re: pg_hba.conf pre-parsing change - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Re: pg_hba.conf pre-parsing change
Date
Msg-id 200107312339.f6VNdFi20790@candle.pha.pa.us
Whole thread Raw
In response to Re: pg_hba.conf pre-parsing change  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Re: pg_hba.conf pre-parsing change
List pgsql-hackers
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> >> 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?
> 
> > We could, but we don't with postgresql.conf so it made sense to keep the
> > behavior the same for the two files.
> 
> I'm inclined to agree --- for one thing, this allows one to edit the
> files in place without worrying that the postmaster will pick up a
> partially-edited file.  But I wanted to throw the issue out to pghackers
> to see if anyone would be really unhappy about having to SIGHUP the
> postmaster after changing the authorization conf files.

OK.

> In any case, if we don't change the code, the change in behavior from
> prior releases needs to be documented...

You mean in the SGML or in the release highlight text?

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_hba.conf pre-parsing change
Next
From: Tom Lane
Date:
Subject: Re: [PATCHES] Allow IDENT authentication on local connections (Linux only)