Re: Limit on number of users in postgresql? - Mailing list pgsql-general

From Bill Moran
Subject Re: Limit on number of users in postgresql?
Date
Msg-id 20070129101617.f58e571f.wmoran@collaborativefusion.com
Whole thread Raw
In response to Re: Limit on number of users in postgresql?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Limit on number of users in postgresql?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
In response to Tom Lane <tgl@sss.pgh.pa.us>:

> "Willy-Bas Loos" <willybas@gmail.com> writes:
> > Tom Lane wrote:
> >> I think that the
> >> main bottleneck would be the "flat file" that's used to tell the
> >> postmaster about the set of valid users --- every time a user is
> >> added/dropped/changed, that file gets rewritten and then re-parsed
> >> by the postmaster.  So you could eat a lot of overhead if you change
> >> users every few seconds or something like that.
>
> > What you describe Tom (flat file), sounds a bit strange to me. Aren't users
> > stored in a table? (pg_catalog.pg_authid)
>
> Yeah, but the postmaster can't read pg_authid, nor any other table,
> because it's not logically connected to the database.  So any change
> to pg_authid gets copied to a "flat" ASCII-text file for the postmaster.

Would using kerberos or some other external auth mechanism work around this?

--
Bill Moran
Collaborative Fusion Inc.

pgsql-general by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: Postgresql 8.1: plperl code works with LATIN1, fail
Next
From: merlyn@stonehenge.com (Randal L. Schwartz)
Date:
Subject: Re: Postgresql 8.1: plperl code works with LATIN1, fail