Home » Database » MDB2_Driver_pgsql » Bug #4700
pgsql version 8+ supports data type change, MDB2 does not
Details
| Request #4700 | pgsql version 8+ supports data type change, MDB2 does not |
|---|---|
| Submitted | 2005-06-29 10:04 UTC |
| From | p dot de dot vries at xs4all dot nl |
| Assigned | lsmith |
| Status | Closed |
| Package | MDB2_Driver_pgsql |
| PHP Version | 5_1 CVS-2005-06-29 |
| OS | Linux |
| Roadmaps | (Not assigned) |
Comments
[2005-06-29 10:04 UTC] p dot de dot vries at xs4all dot nl
Description:
------------
Since version 8, prostgresql supports data type change of a column. A small patch of MDB2/Driver/Manager/pgsql.php can make it work in MDB2.
Reproduce code:
---------------
Patch:
http://pdv.xs4all.nl/mdb2/Driver/Manager/pgsql.diff
Should make data type change work for prostgresql 8+
[2005-06-29 12:12 UTC] smith at backendmedia dot com
Thx for the code. Just typing this down so that I dont forget myself.
I want to add a way to get some server and client information via the getAttribute() method (doesnt exist yet) similar to pdo.
Also the loadModule() method that is responsible for loading the the modules is capable of calling a method in the module to determine the actual module class to load. this was written exactly for this reason, so that instead of writing conditional code you can write separate module classes per driver for specific versions. if this is really feasible in this case is another question.