pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Neil Conway <neilc@samurai.com>
To: Francisco Reyes <lists@natserv.com>
Cc: pgsql General List <pgsql-general@postgresql.org>
Subject: Re: Closing inactive connections OR user connections limits
Date: 20 Nov 2002 16:15:57 -0500
Message-ID: <873cpw54du.fsf@mailbox.samurai.com> (raw)
In-Reply-To: <20021120135451.V30106-100000@zoraida.natserv.net>
References: <20021120135451.V30106-100000@zoraida.natserv.net>

Francisco Reyes <lists@natserv.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@samurai.com> || PGP Key ID: DB3C29FC




view thread (20+ messages)  latest in thread

Message-ID: <873cpw54du.fsf@mailbox.samurai.com>
Permalink:  ../873cpw54du.fsf@mailbox.samurai.com/
Also on:    postgresql.org/message-id/873cpw54du.fsf@mailbox.samurai.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: neilc@samurai.com, lists@natserv.com, pgsql-general@postgresql.org
  Subject: Re: Closing inactive connections OR user connections limits
  In-Reply-To: <873cpw54du.fsf@mailbox.samurai.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox