mirror of
https://github.com/neondatabase/neon.git
synced 2025-12-22 21:59:59 +00:00
chore(compute_tools): Delete unused anon_ext_fn_reassign.sql (#12787)
It's an anon v1 failed launch artifact, I suppose.
This commit is contained in:
@@ -1,13 +0,0 @@
|
|||||||
DO $$
|
|
||||||
DECLARE
|
|
||||||
query varchar;
|
|
||||||
BEGIN
|
|
||||||
FOR query IN
|
|
||||||
SELECT pg_catalog.format('ALTER FUNCTION %I(%s) OWNER TO {db_owner};', p.oid::regproc, pg_catalog.pg_get_function_identity_arguments(p.oid))
|
|
||||||
FROM pg_catalog.pg_proc p
|
|
||||||
WHERE p.pronamespace OPERATOR(pg_catalog.=) 'anon'::regnamespace::oid
|
|
||||||
LOOP
|
|
||||||
EXECUTE query;
|
|
||||||
END LOOP;
|
|
||||||
END
|
|
||||||
$$;
|
|
||||||
Reference in New Issue
Block a user