Home » Database » DB_DataObject » Bug #9364
DataObjects PostgreSQL Native Sequence
Details
| Submitted | 2006-11-17 15:38 UTC |
|---|---|
| From | cron at odi dot com dot br |
| Assigned | alan_k |
| Status | Closed |
| Package | DB_DataObject |
| PHP Version | 5.0.2 |
| OS | Windows |
| Roadmaps | (Not assigned) |
Comments
[2006-11-17 15:38 UTC] cron at odi dot com dot br
Description:
------------
DataObjects don't honor the PostgreSQL native sequences. To honor the native sequences i believe this changes should be make. I think this also reflects on the: http://pear.php.net/bugs/bug.php?id=3773
In DB_DataObjects.php function SequenceKey, line 2013:
if ( in_array($dbtype , array( 'mysql', 'mysqli', 'mssql', 'ifx')) &&
should be(note extra pgsql):
if ( in_array($dbtype , array( 'mysql', 'mysqli', 'mssql', 'ifx', 'pgsql')) &&