#36296 [NoF->Bgs]: PDOStatement::getColumnMeta death at client lib pgsql 8.1.0

From: Date: Mon, 13 Feb 2006 15:51:17 +0000
Subject: #36296 [NoF->Bgs]: PDOStatement::getColumnMeta death at client lib pgsql 8.1.0
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-93221@lists.php.net to get a copy of this message
ID: 36296 Updated by: derick@php.net Reported By: flaboy dot cn at gmail dot com -Status: No Feedback +Status: Bogus Bug Type: PDO related Operating System: both windows / linux PHP Version: 5.1.2 New Comment: Duplicate of #36382. Previous Comments: ------------------------------------------------------------------------ [2006-02-13 01:00:04] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2006-02-05 20:18:20] tony2001@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.1-latest.tar.gz For Windows: http://snaps.php.net/win32/php5.1-win32-latest.zip ------------------------------------------------------------------------ [2006-02-05 18:36:09] flaboy dot cn at gmail dot com Description: ------------ PDOStatement::getColumnMeta death at client lib pgsql 8.1.0 both in windows and linux/unix Reproduce code: --------------- <?php $select = $DB->query('SELECT COUNT(*) FROM fruit'); $meta = $select->getColumnMeta(0); var_dump($meta); ?> Expected result: ---------------- array(6) { ["native_type"]=> string(7) "integer" ["flags"]=> array(0) { } ["name"]=> string(8) "COUNT(*)" ["len"]=> int(-1) ["precision"]=> int(0) ["pdo_type"]=> int(2) } Actual result: -------------- no it's death. when i change back to pgsql lib 8.0.1 it's running very well ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36296&edit=1

« previous php.bugs (#93221) next »