You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ALTERfunctionnet.http_post(url text, body jsonb, params jsonb, headers jsonb, timeout_milliseconds integer) SET search_path = net;
455
-
ALTERfunctionnet.http_collect_response(request_id bigint, async boolean) SET search_path = net;
456
454
457
455
REVOKE ALL ON FUNCTION net.http_get(url text, params jsonb, headers jsonb, timeout_milliseconds integer) FROM PUBLIC;
458
456
REVOKE ALL ON FUNCTION net.http_post(url text, body jsonb, params jsonb, headers jsonb, timeout_milliseconds integer) FROM PUBLIC;
459
-
REVOKE ALL ON FUNCTION net.http_collect_response(request_id bigint, async boolean) FROM PUBLIC;
460
457
461
458
GRANT EXECUTE ON FUNCTION net.http_get(url text, params jsonb, headers jsonb, timeout_milliseconds integer) TO supabase_functions_admin, postgres, anon, authenticated, service_role;
462
459
GRANT EXECUTE ON FUNCTION net.http_post(url text, body jsonb, params jsonb, headers jsonb, timeout_milliseconds integer) TO supabase_functions_admin, postgres, anon, authenticated, service_role;
463
-
GRANT EXECUTE ON FUNCTION net.http_collect_response(request_id bigint, async boolean) TO supabase_functions_admin, postgres, anon, authenticated, service_role;
464
460
END IF;
465
461
END;
466
462
$$;
@@ -639,10 +635,10 @@ DECLARE
639
635
_parts text[];
640
636
_filename text;
641
637
BEGIN
642
-
select string_to_array(name, '/') into _parts;
643
-
select _parts[array_length(_parts,1)] into _filename;
644
-
-- @todo return the last part instead of 2
645
-
return split_part(_filename, '.', 2);
638
+
select string_to_array(name, '/') into _parts;
639
+
select _parts[array_length(_parts,1)] into _filename;
640
+
-- @todo return the last part instead of 2
641
+
return split_part(_filename, '.', 2);
646
642
END
647
643
$$;
648
644
@@ -659,8 +655,8 @@ CREATE OR REPLACE FUNCTION storage.filename(name text) RETURNS text
659
655
DECLARE
660
656
_parts text[];
661
657
BEGIN
662
-
select string_to_array(name, '/') into _parts;
663
-
return _parts[array_length(_parts,1)];
658
+
select string_to_array(name, '/') into _parts;
659
+
return _parts[array_length(_parts,1)];
664
660
END
665
661
$$;
666
662
@@ -677,8 +673,8 @@ CREATE OR REPLACE FUNCTION storage.foldername(name text) RETURNS text[]
677
673
DECLARE
678
674
_parts text[];
679
675
BEGIN
680
-
select string_to_array(name, '/') into _parts;
681
-
return _parts[1:array_length(_parts,1)-1];
676
+
select string_to_array(name, '/') into _parts;
677
+
return _parts[1:array_length(_parts,1)-1];
682
678
END
683
679
$$;
684
680
@@ -835,7 +831,10 @@ CREATE TABLE IF NOT EXISTS _realtime.tenants (
835
831
inserted_at timestamp(0) without time zoneNOT NULL,
836
832
updated_at timestamp(0) without time zoneNOT NULL,
0 commit comments