is libpq thread-safe?

From: npat(at)kmp(dot)forthnet(dot)gr
To: pgsql-general(at)postgresql(dot)org
Subject: is libpq thread-safe?
Date: 2000-12-14 21:14:55
Message-ID: 20001214231455.B9739@pink.priv.inaccess.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

A staight forward question:

Is "libpq" thread-safe??

And an elaboration:

I want to write a server that opens-up a number of connections
to a PostgreSQL database, and then spawns threads handing a connection
object (PGconn) to each thread, so that all the threads can
perform data-base operations (queries) simultaneously. Each thread will
use its own connection object. Will this work??

Tanks
npat.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joseph Shraibman 2000-12-14 21:16:11 Re: Re: Help!Can't connect Postgresql JDBC driver
Previous Message Jim Mercer 2000-12-14 20:39:02 adding a C function with optional arguments