Re: idle connection timeout ... - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: idle connection timeout ...
Date
Msg-id 200210252303.g9PN3x319316@candle.pha.pa.us
Whole thread Raw
In response to Re: idle connection timeout ...  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: idle connection timeout ...  (Robert Treat <xzilla@users.sourceforge.net>)
List pgsql-hackers
Tom Lane wrote:
> Robert Treat <xzilla@users.sourceforge.net> writes:
> > On Fri, 2002-10-25 at 16:17, Tom Lane wrote:
> >> I prefer GUC variables to table entries for setting stuff like recursion
> >> limits; they're much lighter-weight to create and access, and you don't
> >> need an initdb to add or remove a parameter.
> 
> > I don't see an adequate way to store the individual settings as GUC
> > variables per user...
> 
> Have you looked at the per-database and per-user GUC facilities in 7.3?

Nice idea.  You can now have per-user/db settings that are SET when the
connection is made.  You can set any GUC variable that way.  We just
need a variable that can look at all sessions and determine if that user
has exceeded their connection quota.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Time for RC1 soon?
Next
From: Bruce Momjian
Date:
Subject: Re: Time for RC1 soon?