=?ISO-8859-2?Q?Petr_Jel=EDnek?= <[EMAIL PROTECTED]> writes: > patch I attached allows to set connectin limits per user or per database > (it's on TODO list).
I don't think this is going to work. The first problem with it is that it changes pgstats from an optional into a required part of the system. The second is that since the pgstats output lags well behind the actual state of the system, it'll be at best a very approximate limit on the number of connections. Perhaps for some people that's good enough, but I kinda doubt it's what the people asking for the feature have in mind. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faq