Test: /ext/pdo_pgsql/tests/bug61267.phpt - Version 7.0.33-dev        

Bug #61267 pdo_pgsql's PDO::exec() returns the number of SELECTed rows on postgresql >= 9.
Submitted: 2012-03-03 13:54:09 Modified: 2012-03-08 08:52:37
From: ben.pineau Assigned: cataphract
Status: Closed Package: PDO related
PHP Version: Irrelevant OS: all

There is 1 diff reported by users for this test.

Count Diff
1 (100%)
001+ Fatal error: Uncaught PDOException: SQLSTATE[08006] [7] FATAL: role "password=" does not exist in /home/timo/projects/php-src/ext/pdo/tests/pdo_test.inc:35
002+ Stack trace:
001- int(0)
002- Done
003+ #0 /home/timo/projects/php-src/ext/pdo/tests/pdo_test.inc(35): PDO->__construct('pgsql:host=loca...', NULL, NULL, NULL)
004+ #1 /home/timo/projects/php-src/ext/pdo/tests/pdo_test.inc(73): PDOTest::factory()
005+ #2 %s/bug61267.php(4): PDOTest::test_factory('/home/timo/proj...')
006+ #3 {main}
007+ thrown in /home/timo/projects/php-src/ext/pdo/tests/pdo_test.inc on line 35