simultaneous use of JDBC and libpq

From: alltest1 <alltest1(at)covad(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: simultaneous use of JDBC and libpq
Date: 2004-06-23 14:24:53
Message-ID: 40D992B5.7060707@covad.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I am wondering if it is thread-safe to use both JDBC and libpq
simultaneously.

On a Linux, JDBC is used by Tomcat and libpq is used by a client
software written in C language. So JDBC and libpq are used by two
different programs.
If the same row in the same table is updated (update SQL command)
through libpq and
read (select SQL command) by JDBC, then would it cause a thread problem?
I am not using any transaction, and using just select, update, and
sometimes insert.

I am using PostgreSQL 7.3.6 with pg73jdbc3.jar downloaded and libpq that
came with Redhat Enterprise 3.

Thank you very much in advance.

Bob

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jean-Michel POURE 2004-06-23 14:29:42 Re: [GENERAL] Building pgadmin on Fedora core 2
Previous Message Joe Conway 2004-06-23 14:14:42 Re: [GENERAL] Building pgadmin on Fedora core 2