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 #1000

Postgresql, cidr data type wrong recognized

Details

Submitted2004-03-12 15:17 UTC
Fromdaniel at konczyk dot net
Assignedalan_k
StatusClosed
PackageDB_DataObject
PHP Version4.3.3
OSDebian GNU/Linux
Roadmaps(Not assigned)

Comments

[2004-03-12 15:17 UTC] daniel at konczyk dot net

Description:
------------
the postgresql's network data type 'cidr' is wrong proceeded - it should be treated as a string (since its address ip with mask) and though quoted, but it's treated as integer and results in error.

I assume, that this might apply to the rest of network types, inet and macaddr

[2004-03-17 08:00 UTC] daniel at konczyk dot net

OK, that helped, please then add these 3 new types CIDR, INET, MACADDR.
To be strict, CIDR holds an IP network specification

Thanks