simultaneous use of JDBC and libpq

Поиск
Список
Период
Сортировка
От alltest1
Тема simultaneous use of JDBC and libpq
Дата
Msg-id 40D992B5.7060707@covad.net
обсуждение исходный текст
Ответы Re: simultaneous use of JDBC and libpq  (Richard Huxton <dev@archonet.com>)
Re: simultaneous use of JDBC and libpq  (Csaba Nagy <nagy@ecircle-ag.com>)
Список 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






В списке pgsql-general по дате отправления:

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: [pgadmin-support] Building pgadmin on Fedora core 2
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: timestamp without time zone format