X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id D02D130EB3F for ; Fri, 20 Jun 2003 00:59:26 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 50093-03 for ; Thu, 19 Jun 2003 21:59:16 -0300 (ADT) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id BE57B30E819 for ; Thu, 19 Jun 2003 21:59:15 -0300 (ADT) Received: (qmail 7550 invoked from network); 20 Jun 2003 00:59:11 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.33?) (64.7.143.116) by net2.micro-automation.com with SMTP; 20 Jun 2003 00:59:11 -0000 Subject: Re: maxconnection From: Dave Cramer Reply-To: Dave@micro-automation.net To: zhuj Cc: "pgsql-jdbc@postgresql.org" In-Reply-To: <001701c336c7$c5013b90$d400a8ca@zhuj2k> References: <00dc01c334b2$04876130$d400a8ca@zhuj2k> <1056054233.1307.37.camel@localhost.localdomain> <001701c336c7$c5013b90$d400a8ca@zhuj2k> Content-Type: text/plain Organization: Message-Id: <1056070724.1307.47.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) Date: 19 Jun 2003 20:58:44 -0400 Content-Transfer-Encoding: 7bit X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/) X-Archive-Number: 200306/82 X-Sequence-Number: 7304 Really, what happens? I am pretty sure you won't get more than 25 connections. Dave On Thu, 2003-06-19 at 21:03, zhuj wrote: > I try to edit the postgresql.conf, set > "max_connections " to 25 then restart > postgres, but it seems not work. > > ----- Original Message ----- > From: "Dave Cramer" > To: "zhuj" > Cc: > Sent: Friday, June 20, 2003 4:23 AM > Subject: Re: [JDBC] maxconnection > > > > You have to limit the connections on the backend, in postgresql.conf. > > > > Dave > > On Tue, 2003-06-17 at 05:22, zhuj wrote: > > > hi,all: > > > I want to constraint the maximum number of concurrent connections to > 25 > > > in postgres > > > jdbc driver. There are no methods for this > > > change. How would i do? > > > > > > TIA > > > zhuj > > > > > > > > > > > > ---------------------------(end of broadcast)--------------------------- > > > TIP 3: if posting/reading through Usenet, please send an appropriate > > > subscribe-nomail command to majordomo@postgresql.org so that your > > > message can get through to the mailing list cleanly > > > > > -- > > Dave Cramer > > > > > -- Dave Cramer