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

Bug #6025 $auto_create & postgres & table names containing uppercase letters
Submitted: 2005-11-21 14:08 UTC Modified: 2005-11-25 14:40 UTC
From: slashdevslashnull at gmx dot net Assigned: wiesemann
Status: Closed Package: DB_Table
PHP Version: 4.4.0 OS: linux
Roadmaps: (Not assigned)    
Subscription  


 [2005-11-21 14:08 UTC] slashdevslashnull at gmx dot net
Description: ------------ DB_Table($db, 'someTableNameContainingUppercaseLetters', 'safe') will always try to create the table on postgres because postgres will lowercase the table name while DB_Table does not when it checks if the table exists. (DB_Table-1.2.1)

Comments

 [2005-11-22 08:19 UTC] wiesemann
Thanks for the report. I'll do some tests with the different DBMS to see, whether a simple strtolower() won't cause any new headaches.
 [2005-11-25 14:40 UTC] wiesemann
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.