Re: PQconnectStart/PQconnectPoll

From: "Kevin Grittner" <kgrittn(at)mail(dot)com>
To: "Sergio Mayoral" <mayoralstuttgart(at)yahoo(dot)com>,"postgresql-perf" <pgsql-performance(at)postgresql(dot)org>
Subject: Re: PQconnectStart/PQconnectPoll
Date: 2012-11-20 12:57:23
Message-ID: 20121120125723.156400@gmx.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Sergio Mayoral wrote:

> I cannot use persistent connections. I must open/close a connection
> anytime I want to insert something new.

That's odd. Why is that?

> do i have to configure something different? Am i missing something?

You could use pgbouncer to hold database connections open for you and
provide a somewhat more lightweight connection process.

-Kevin

Browse pgsql-performance by date

  From Date Subject
Next Message Kevin Grittner 2012-11-20 13:06:09 Re: help on slow query using postgres 8.4
Previous Message Russell Keane 2012-11-20 11:16:46 FW: slow query on postgres 8.4