libpq usage in Samba

From: Fernando Schapachnik <fernando(at)mecon(dot)gov(dot)ar>
To: pgsql-general(at)postgresql(dot)org
Subject: libpq usage in Samba
Date: 2005-03-30 14:48:46
Message-ID: 20050330144846.GA7626@bal740r0.mecon.gov.ar
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I'm trying to figure out why Samba is failing at high loads if using Postgres as
a backend (7.3.9 in my setup). On startup in makes one connection only against
the database which is shared among all the Samba processes. In turn, each issue
a PQexec() over the same connection (a SELECT, actually). Is that a safe use? I
would think it is not, but not really sure. I mean, does libpq multiplex queries
and handle concurrency correctly in a such a scenario?

Thanks.

Fernando.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Carlos Roberto Chamorro Mostac 2005-03-30 14:52:18 Ayuda con procesamiento en Postgres !!!!
Previous Message Carlos Roberto Chamorro Mostac 2005-03-30 14:42:53 Postgres Processing Help !!!!