Re: Converting from single user w/pool to multiple users

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jeff Amiel <jamiel(at)istreamimaging(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Converting from single user w/pool to multiple users
Date: 2005-03-24 16:24:14
Message-ID: 27387.1111681454@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message fabrizio ravazzini 2005-03-24 16:31:41 Pgsql 8.0 on Win32 Production env.
Previous Message Tom Lane 2005-03-24 16:16:39 Re: Converting from single user w/pool to multiple users