postgresql - Postgres Check if IP (inet) is IN a list of IP Ranges -
I want to know if an IP is present in the range of boundaries, such as: in postgrascape documentation & lt; & Lt; To check the operator to check whether an IP is contained in an IP range, such as: SELECT * fROM ip_address WHERE Ip IN (& lt; list of ip categories & gt;)
inet '192.168.1.5' & lt; & Lt; Inet '192.168.1 / 24' , but I'm not sure if it's used to write any category & lt; & Lt; & Lt; & Lt; S is to do without the series.
int '192.168.1.5' & lt; & Lt; Any (array ['19 2.168.1 / 24', '10 / 8 ']: inset []); ? Column? ---------- T
Comments
Post a Comment