Home » Database » DB_DataObject » Bug #1000
Postgresql, cidr data type wrong recognized
Details
| Submitted | 2004-03-12 15:17 UTC |
|---|---|
| From | daniel at konczyk dot net |
| Assigned | alan_k |
| Status | Closed |
| Package | DB_DataObject |
| PHP Version | 4.3.3 |
| OS | Debian 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