pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paul Thomas <paul@tmsl.demon.co.uk>
To: pgsql-sql @ postgresql . org <pgsql-sql@postgresql.org>
Subject: Re: [JDBC] maxconnection
Date: Thu, 19 Jun 2003 19:38:46 +0100
Message-ID: <20030619193846.A21606@bacon> (raw)
In-Reply-To: <00dc01c334b2$04876130$d400a8ca@zhuj2k>
References: <00dc01c334b2$04876130$d400a8ca@zhuj2k>


On 17/06/2003 10: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?

The simplest way is to use a connection pool.

HTH

-- 
Paul Thomas
+------------------------------+---------------------------------------------+
| Thomas Micro Systems Limited | Software Solutions for the Smaller 
Business |
| Computer Consultants         | 
http://www.thomas-micro-systems-ltd.co.uk   |
+------------------------------+---------------------------------------------+



view thread (7+ messages)  latest in thread

Message-ID: <20030619193846.A21606@bacon>
Permalink:  ../20030619193846.A21606@bacon/
Also on:    postgresql.org/message-id/20030619193846.A21606@bacon

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: paul@tmsl.demon.co.uk
  Subject: Re: [JDBC] maxconnection
  In-Reply-To: <20030619193846.A21606@bacon>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox