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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-patches by date

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