Re: Closing inactive connections OR user connections limits

From: Neil Conway <neilc(at)samurai(dot)com>
To: Francisco Reyes <lists(at)natserv(dot)com>
Cc: pgsql General List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Closing inactive connections OR user connections limits
Date: 2002-11-20 21:15:57
Message-ID: 873cpw54du.fsf@mailbox.samurai.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-sql

Francisco Reyes <lists(at)natserv(dot)com> writes:
> On 20 Nov 2002, Neil Conway wrote:
> > Not if the connection is made to the database as the PostgreSQL
> > superuser.
>
> So this would be new to 7.3. Right?

Yes.

> Right now if there are connections open "vacuum full" will wait from those
> connectins to close, even if the vacuum is done from the superuser.

Erm, no -- VACUUM FULL doesn't block on connections, it blocks waiting
to acquire locks. Whether or not a client is allowed to connect to the
database has no relation to the locks the client can acquire once
they've connected.

> > Heh, no where at the moment, as there wasn't isn't any documentation
> > on this new feature :-) Attached is a patch that adds some (also sent
> > to -patches).
>
> So there will be a way to reserve connectinos for the super-user, but will
> there be a way to limit number of connection per user?

Not in 7.3, AFAIK.

Cheers,

Neil

--
Neil Conway <neilc(at)samurai(dot)com> || PGP Key ID: DB3C29FC

In response to

Browse pgsql-general by date

  From Date Subject
Next Message * Tong * 2002-11-20 21:26:00 About pgaccess tables
Previous Message Chris Boget 2002-11-20 20:10:23 Re: List of currently connected users

Browse pgsql-sql by date

  From Date Subject
Next Message Neil Conway 2002-11-20 21:33:15 Re: Closing inactive connections OR user connections limits
Previous Message Dan Langille 2002-11-20 20:20:15 Re: Trees: maintaining pathnames