Skip to content

Truncated functions in grants #275

@FFX3

Description

@FFX3

"GRANT EXECUTE ON FUNCTION upsert_grading_annotations(_plan_id uuid, _dzi_ids uuid[], _off TO service_role;"

I'm trying to get the schema from supabase so maybe this is a timeout issue.

Most of it is fine

--
-- Name: ensure_failed_has_error_message(); Type: PRIVILEGE; Schema: privileges; Owner: -
--

GRANT EXECUTE ON FUNCTION ensure_failed_has_error_message() TO anon;

Start to fail at same "col" implying there's a char limit

--
-- Name: upsert_grading_annotations(_plan_id uuid, _dzi_ids uuid[], _off; Type: PRIVILEGE; Schema: privileges; Owner: -
--

GRANT EXECUTE ON FUNCTION upsert_grading_annotations(_plan_id uuid, _dzi_ids uuid[], _off TO anon;

--
-- Name: upsert_grading_annotations(_plan_id uuid, _dzi_ids uuid[], _off; Type: PRIVILEGE; Schema: privileges; Owner: -
--

GRANT EXECUTE ON FUNCTION upsert_grading_annotations(_plan_id uuid, _dzi_ids uuid[], _off TO authenticated;


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions