
2 Aug
2011
2 Aug
'11
6:21 a.m.
How to check whether ip is contained within network? I tried: sql>select * from transfer_ip where dst << '10.7.1.0/24' limit 10; types inet(0,0) and tinyint(8,0) are not equal for column 'dst' sql>select * from transfer_ip where dst << inet '10.7.1.0/24' limit 10; types inet(0,0) and tinyint(8,0) are not equal for column 'dst' -- Thanks, Eugene Prokopiev