Re: WIP: remove use of flat auth file for client authentication - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: WIP: remove use of flat auth file for client authentication
Date
Msg-id 20090829130047.GB17756@tamriel.snowman.net
Whole thread Raw
In response to Re: WIP: remove use of flat auth file for client authentication  (Simon Riggs <simon@2ndQuadrant.com>)
Responses Re: WIP: remove use of flat auth file for client authentication
List pgsql-hackers
* Simon Riggs (simon@2ndQuadrant.com) wrote:
> I get the feeling that part of the inspiration for this is that Hot
> Standby must maintain this file. If not, I'm curious as to the reasons
> for doing this. No objections however, just curiosity.

The impetus for these changes was the performance complaint that adding
new users is extremely expensive once the files get to be large.
Solving that kind of a problem typically involves moving away from flat
files and to a database.  Thankfully, we happen to have a database
already built-in. ;)

> Specifically, should I remove the parts of the HS patch that refresh
> those files?

I'd probably wait till it's committed and then rip it out as part of
re-baseing against CVS.  That's just my 2c on it and I've no clue how
invasive the changes to HS are to do that.  If it's easy to separate the
changes and remove/add them as needed, then perhaps it doesn't matter if
you do that now or wait.
Thanks,
    Stephen

pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: LWLock Queue Jumping
Next
From: Tom Lane
Date:
Subject: Re: WIP: remove use of flat auth file for client authentication