Fix indentation

This commit is contained in:
Guido Fioravantti 2015-11-12 11:58:32 +01:00
parent 4ba76df016
commit 2afb541d8d

View File

@ -50,7 +50,7 @@ RETURNS Geometry AS $$
WITH WITH
ips AS (SELECT unnest(old_ips) s, unnest(new_ips) net), ips AS (SELECT unnest(old_ips) s, unnest(new_ips) net),
matches AS (SELECT s, (SELECT the_geom FROM ip_address_locations WHERE network_start_ip <= ips.net ORDER BY network_start_ip DESC LIMIT 1) geom FROM ips) matches AS (SELECT s, (SELECT the_geom FROM ip_address_locations WHERE network_start_ip <= ips.net ORDER BY network_start_ip DESC LIMIT 1) geom FROM ips)
SELECT geom INTO ret SELECT geom INTO ret
FROM matches; FROM matches;
RETURN ret; RETURN ret;
END END