Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.0b4

Bug #11207 revere getTableFieldDefinition schema problem
Submitted: 2007-06-02 15:06 UTC
From: jlagedo Assigned: quipo
Status: Closed Package: MDB2_Driver_pgsql (version 1.4.1)
PHP Version: 5.2.2 OS: FreeBSD
Roadmaps: (Not assigned)    
Subscription  


 [2007-06-02 15:06 UTC] jlagedo (João Amaro Lagedo)
Description: ------------ When using db_dataobjects with MDB2 and MDB2_Driver_pgsql the getTableFieldDefinition tries to get the table from pg_class WHERE c.relname = ".$db->quote($table, 'text') but it's using the full table name with the schema but pg_class.relname store it without the the schema //schema detecion $bits = explode('.', $table,2); $table = $bits[0]; if (count($bits) > 1) { $table = $bits[1]; }

Comments

 [2007-06-02 15:46 UTC] quipo (Lorenzo Alberton)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.