Exception typo

This commit is contained in:
Guido Fioravantti 2015-11-12 12:11:05 +01:00
parent ff3f5a1f4c
commit c1d4ffb37a

View File

@ -40,7 +40,7 @@ RETURNS Geometry AS $$
new_ip := ('::ffff:' || ip)::inet;
END IF;
EXCEPTION WHEN OTHERS THEN
SELECT ip AS q, NULL as geom, FALSE as success INTO ret;
SELECT NULL as geom INTO ret;
RETURN ret;
END;