PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Database » DB_DataObject » Bug #9364

DataObjects PostgreSQL Native Sequence

Details

Submitted2006-11-17 15:38 UTC
Fromcron at odi dot com dot br
Assignedalan_k
StatusClosed
PackageDB_DataObject
PHP Version5.0.2
OSWindows
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')) &&