#39845 [NEW]: Persistent connections and PostgreSQL

From: Date: Fri, 15 Dec 2006 16:09:29 +0000
Subject: #39845 [NEW]: Persistent connections and PostgreSQL
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-106400@lists.php.net to get a copy of this message
From: olivier at elma dot fr Operating system: Debian unstable PHP version: 5.2.0 PHP Bug Type: PDO related Bug description: Persistent connections and PostgreSQL Description: ------------ Since I upgraded from php 5.1.x to php 5.2.0 persistent connections doesn't work anymore. PDO keeps telling me the driver does not support this functionnality. Reproduce code: --------------- <?php try { $dbh = new PDO('pgsql:host=localhost dbname=amarok user=slaanesh', 'slaanesh', 'XXXXXX', array(PDO::ATTR_PERSISTENT => true)); echo "Connected\n"; } catch (Exception $e) { echo "Failure: " . $e->getMessage(); } ?> Expected result: ---------------- Connected Actual result: -------------- Warning: PDO::__construct(): SQLSTATE[IM001]: Driver does not support this function: driver does not support setting attributes in /home/slaanesh/pdo.php on line 3 Connected -- Edit bug report at http://bugs.php.net/?id=39845&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39845&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39845&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39845&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=39845&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=39845&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=39845&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=39845&r=needscript Try newer version: http://bugs.php.net/fix.php?id=39845&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=39845&r=support Expected behavior: http://bugs.php.net/fix.php?id=39845&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=39845&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=39845&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=39845&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39845&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=39845&r=dst IIS Stability: http://bugs.php.net/fix.php?id=39845&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=39845&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=39845&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=39845&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=39845&r=mysqlcfg

« previous php.bugs (#106400) next »