Skip site navigation (1) Skip section navigation (2)

Re: Persistent connections

From: Chris <dmagick(at)gmail(dot)com>
To: kulmacet101(at)kulmacet(dot)com
Cc: pgsql-php <pgsql-php(at)postgresql(dot)org>
Subject: Re: Persistent connections
Date: 2009-01-26 23:04:07
Message-ID: 497E4167.3020708@gmail.com (view raw or flat)
Thread:
Lists: pgsql-php
kulmacet101(at)kulmacet(dot)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/


In response to

pgsql-php by date

Next:From: Fran├žois DelpierreDate: 2009-02-02 10:02:05
Subject: How to store files into the DB with PHP. (bytea ?)
Previous:From: kulmacet101Date: 2009-01-26 13:26:45
Subject: Persistent connections

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group