pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <kgrittn@mail.com>
To: Sergio Mayoral <mayoralstuttgart@yahoo.com>
To: postgresql-perf <pgsql-performance@postgresql.org>
Subject: Re: PQconnectStart/PQconnectPoll
Date: Tue, 20 Nov 2012 07:57:23 -0500
Message-ID: <20121120125723.156400@gmx.com> (raw)

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




view thread (3+ messages)  latest in thread

Message-ID: <20121120125723.156400@gmx.com>
Permalink:  ../20121120125723.156400@gmx.com/
Also on:    postgresql.org/message-id/20121120125723.156400@gmx.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: kgrittn@mail.com, mayoralstuttgart@yahoo.com
  Subject: Re: PQconnectStart/PQconnectPoll
  In-Reply-To: <20121120125723.156400@gmx.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox