pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Chris <dmagick@gmail.com>
To: kulmacet101@kulmacet.com
Cc: pgsql-php <pgsql-php@postgresql.org>
Subject: Re: Persistent connections
Date: Tue, 27 Jan 2009 10:04:07 +1100
Message-ID: <497E4167.3020708@gmail.com> (raw)
In-Reply-To: <8d9194084b7ebc4ca16aebec6579237f.squirrel@webmail.kulmacet.com>
References: <8d9194084b7ebc4ca16aebec6579237f.squirrel@webmail.kulmacet.com>

kulmacet101@kulmacet.com wrote:
> All,
> 
> Could someone send me a properly formatted dsn string connecting PHP to a
> Postgres database using the 'PDO::ATTR_PERSISTENT => true' attribute?
> 
> I am having issues making this work correctly.

Example #4 here shows it:

http://www.php.net/manual/en/pdo.connections.php

What issues are you having exactly?

-- 
Postgresql & php tutorials
http://www.designmagick.com/




view thread (2+ messages)

Message-ID: <497E4167.3020708@gmail.com>
Permalink:  ../497E4167.3020708@gmail.com/
Also on:    postgresql.org/message-id/497E4167.3020708@gmail.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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: dmagick@gmail.com, kulmacet101@kulmacet.com
  Subject: Re: Persistent connections
  In-Reply-To: <497E4167.3020708@gmail.com>
  References: <8d9194084b7ebc4ca16aebec6579237f.squirrel@webmail.kulmacet.com> <497E4167.3020708@gmail.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