Skip site navigation (1) Skip section navigation (2)

Re: limiting connections per user/database

From: Neil Conway <neilc(at)samurai(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Petr Jelínek <pjmodos(at)parba(dot)cz>,pgsql-patches(at)postgresql(dot)org
Subject: Re: limiting connections per user/database
Date: 2005-06-27 05:59:49
Message-ID: 42BF95D5.1030408@samurai.com (view raw or flat)
Thread:
Lists: pgsql-patches
Tom Lane wrote:
> Right.  So do we care whether the collector has the right number?

Not at present; n_backends is not read/written by the stats collector 
itself, it is just in the hash table for the convenience of backends who 
read in the stats file.

> Or should we push the responsibility for tracking that count over
> to the collector (+1 for that personally)?

Makes sense to me -- I'll take a look at implementing this. For now I'll 
just commit the bug fix.

-Neil

In response to

Responses

pgsql-patches by date

Next:From: Tom LaneDate: 2005-06-27 06:13:03
Subject: Re: limiting connections per user/database
Previous:From: Tom LaneDate: 2005-06-27 05:42:00
Subject: Re: limiting connections per user/database

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group