Re: PQfinish() in a C multi-threaded application
От | David G Johnston |
---|---|
Тема | Re: PQfinish() in a C multi-threaded application |
Дата | |
Msg-id | 1417201187711-5828622.post@n5.nabble.com обсуждение исходный текст |
Ответ на | PQfinish() in a C multi-threaded application (François Battail <francois.battail@sipibox.fr>) |
Список | pgsql-bugs |
Fran=C3=A7ois Battail wrote > Dear List, >=20 > I've a (large) multi-threaded application in C using PostgreSQL 9.3 on=20 > Ubuntu 14.04 LTS x86_64 and it /seems/ that when a thread close a=20 > connection using PQfinish() all pgsql connections *program wide* are=20 > closed, here's an overview of this application: I would imagine that actually showing a small snippet of C code that exhibits this behavior would make trouble-shooting a lot more viable. Specifically the means of thread creation and connection creation/provision in the main program, and the threads, needs to be shown in code and not som= e imprecise description. If you provide that those with actual knowledge of C and libpq may be able to help. David J. -- View this message in context: http://postgresql.nabble.com/PQfinish-in-a-C-= multi-threaded-application-tp5828600p5828622.html Sent from the PostgreSQL - bugs mailing list archive at Nabble.com.
В списке pgsql-bugs по дате отправления: