Re: limiting connections per user/database - Mailing list pgsql-patches

From Neil Conway
Subject Re: limiting connections per user/database
Date
Msg-id 42BF95D5.1030408@samurai.com
Whole thread Raw
In response to Re: limiting connections per user/database  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: limiting connections per user/database  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: limiting connections per user/database
Next
From: Tom Lane
Date:
Subject: Re: limiting connections per user/database