PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » DB_DataObject » Bug #413

Postgresql & interval column type

Details

Submitted2003-12-12 14:47 UTC
Fromadmin at dying dot art dot pl
Assignedalan_k
StatusClosed
PackageDB_DataObject
PHP Version4.3.3
OSLinux Debian
Roadmaps(Not assigned)

Comments

[2003-12-12 14:47 UTC] admin at dying dot art dot pl

Description:
------------
I have a table (postgresql database) with the column type 'interval'
In the auto-generated database schema (db_name.ini) I found, that it is marked as integer field type (1). As it is not an integer, the query fails because of not quoted (and bad represented) value.

Changing the type in the db schema from 1 to 2 solves the problem