Yeah, that's a known bug :-(. The indexing routines for CIDR/INET don't agree with the comparison operators about sort order. It'll be fixed in 7.1. regards, tom lane
- [BUGS] Selects on tables with cidr type primary keys are... Lennert Buytenhek
- Tom Lane