(source: http://stackoverflow.com/questions/9305133/why-does-postgresql-treat-my-query-differently-in-a-function)
RETURN QUERY : cache plan
RETURN QUERY EXECUTE: replan for each call
RETURN QUERY EXECUTE $$
//query body
$$ USING param1, param2
RETURN QUERY EXECUTE $$
//query body
$$ USING param1, param2
nano /etc/resolvconf/resolv.conf.d/head
nameserver 8.8.8.8