#36296 [NEW]: PDOStatement::getColumnMeta death at client lib pgsql 8.1.0
| From: | flaboy dot cn at gmail dot com | Date: | Sun, 05 Feb 2006 17:36:12 +0000 |
| Subject: | #36296 [NEW]: PDOStatement::getColumnMeta death at client lib pgsql 8.1.0 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-92942@lists.php.net to get a copy of this message | ||
From: flaboy dot cn at gmail dot com
Operating system: both windows / linux
PHP version: 5.1.2
PHP Bug Type: PDO related
Bug description: PDOStatement::getColumnMeta death at client lib pgsql 8.1.0
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 bug report at http://bugs.php.net/?id=36296&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36296&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36296&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36296&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=36296&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=36296&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=36296&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=36296&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=36296&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=36296&r=support
Expected behavior: http://bugs.php.net/fix.php?id=36296&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=36296&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=36296&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=36296&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36296&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=36296&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=36296&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=36296&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=36296&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=36296&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=36296&r=mysqlcfg