Orthodox use of PQtransactionStatus

Поиск
Список
Период
Сортировка
От luca.ciciriello@email.it
Тема Orthodox use of PQtransactionStatus
Дата
Msg-id 25a54c8a7c5c90af78813a03d75a3263@85.18.140.153
обсуждение исходный текст
Список pgsql-general
Hi All.
Does somebody know where (some internet sites or sample code) I can achieve
a good understanding in the use of the
status PQTRANS_IDLE, PQTRANS_ACTIVE, PQTRANS_INTRANS, PQTRANS_INERROR,
PQTRANS_UNKNOWN using the lib function
PQtransactionStatus?
I need to use this flags in order to discipline some BEGIN-COMMIT blocks in
a multithreading Windows/Linux
environment.

Each thread uses a separate db connection and shouldn't have any interaction
with the other threads, but I still
have messages as "WARNING: There is already a transaction in progress" and
"WARNING: There is no transaction in
progress". A further information is that the DB operation involved in each
thread is a store in a table. This table
is the same for each thread.

Thanks in advance.

Luca.
 --
 Email.it, the professional e-mail, gratis per te: http://www.email.it/f

 Sponsor:
 PARTI CON TODOMONDO: occasioni speciali a prezzi straordinari, fino al 50%
di sconto su voli e viaggi!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=7277&d=20071206



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

Предыдущее
От: Daniel Drotos
Дата:
Сообщение: Re: simple update on boolean
Следующее
От: "Frank Millman"
Дата:
Сообщение: Re: simple update on boolean