Skip site navigation (1) Skip section navigation (2)

New JDBC Driver Patch

From: Peter T Mount <peter(at)retep(dot)org(dot)uk>
To: PostgreSQL Interfaces List <pgsql-interfaces(at)postgresql(dot)org>
Subject: New JDBC Driver Patch
Date: 1998-10-07 21:31:04
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
I've just posted to the patches list, a patch that finally brings Thread
safety to the driver.

This is mainly of use for Servlet authors, as they don't need to manage a
pool of open connections any more, but they can use a single connection
without the risk of the backend getting confused.

The patch accomplishes this by syncronising network activity to the
PG_Stream object, which is unique for each active connection. Both the
Connection.ExecSQL() and FastPath.fastpath() methods do this, and so far,
my tests haven't yet broken it.


       Peter T Mount peter(at)retep(dot)org(dot)uk
      Main Homepage:
PostgreSQL JDBC Faq:
 Java PDF Generator:

pgsql-interfaces by date

Next:From: Jun KuwamuraDate: 1998-10-08 08:51:38
Subject: [pgsql-jp 5574] Re: Is array_iterator.c work? (fwd)
Previous:From: Joris EschDate: 1998-10-07 12:46:00
Subject: RE: libpq++ and gcc

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group