ID:               36296
 Updated by:       [EMAIL PROTECTED]
 Reported By:      flaboy dot cn at gmail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         PDO related
 Operating System: both windows / linux
 PHP Version:      5.1.2
 New Comment:

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




Previous Comments:
------------------------------------------------------------------------

[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

Reply via email to