Postgresql query fo find IP address
I'm trying to find an IP address that match a range of hosts (172.24.12.???), but none of the following queries are working: select * from pg_catalog.pg_stat_activity --where client_addr <> E'(?|172.24.12.)'::inet; --where client_addr <> E'(://|^)172\.24\.12\.[0-9]'::inet I'm getting two different errors. SQL…