Commit a4a66c76 authored by Julien Cigar's avatar Julien Cigar 🤘
Browse files

ensure pgbouncer.user_lookup is owned by postgres

parent 8a927ce0
......@@ -7,6 +7,7 @@ BEGIN
RETURN;
END;
\$\$ LANGUAGE plpgsql SECURITY DEFINER;
ALTER FUNCTION pgbouncer.user_lookup OWNER TO postgres;
REVOKE ALL ON FUNCTION pgbouncer.user_lookup(text) FROM public, pgbouncer;
GRANT EXECUTE ON FUNCTION pgbouncer.user_lookup(text) TO pgbouncer;
EOF
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment