Re: Converting from single user w/pool to multiple users - Mailing list pgsql-general

From Tom Lane
Subject Re: Converting from single user w/pool to multiple users
Date
Msg-id 27387.1111681454@sss.pgh.pa.us
Whole thread Raw
In response to Re: Converting from single user w/pool to multiple users  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
I wrote:
> There's no hard limit.  Offhand the only thing I can think of that might
> be a bit slow is password lookup during connection --- I think that does
> a linear scan through a list of usernames.  This is only an issue if you
> use passwords of course, but I suppose you probably would.  (It would
> likely not be hard to improve the search algorithm, if it did become
> a bottleneck.)

BTW, I take that back --- it already is a binary search, so there
shouldn't be any problem with thousands of users.  Still, I like
your idea of continuing to pool the connections better.  Backend
startup is a bit expensive.

            regards, tom lane

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: Converting from single user w/pool to multiple users
Next
From: fabrizio ravazzini
Date:
Subject: Pgsql 8.0 on Win32 Production env.