© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
2 replies
Julian IncrEdelman

CLI Start & Stop fails with graphql.get_built_schema_version() does not exist

I:
- had a local DB
- added some tables (I did enable the "set updated_at" trigger)
- I wanted to enable a plugin (the psql audit plugin)
- I couldn't find how to restart the local db so did "supabase stop & start"

That failed (I think the start), and now whenever I start, I get the following:

2022/11/17 15:50:21 PG Recv: {"Type":"ErrorResponse","Severity":"ERROR","SeverityUnlocalized":"ERROR","Code":"42883","Message":"function graphql.get_built_schema_version() does not exist","Detail":"","Hint":"","Position":0,"InternalPosition":0,"InternalQuery":"","Where":"","SchemaName":"","TableName":"","ColumnName":"","DataTypeName":"","ConstraintName":"","File":"parse_func.c","Line":2444,"Routine":"LookupFuncWithArgs","UnknownFields":null}
2022/11/17 15:50:21 PG Recv: {"Type":"ReadyForQuery","TxStatus":"I"}
2022/11/17 15:50:21 PG Send: {"Type":"Terminate"}
Error: ERROR: function graphql.get_built_schema_version() does not exist (SQLSTATE 42883)
At statement 107:


--
-- Name: FUNCTION "get_built_schema_version"(); Type: ACL; Schema: graphql; Owner: supabase_admin
--

GRANT ALL ON FUNCTION "graphql"."get_built_schema_version"() TO "postgres";
2022/11/17 15:50:21 PG Recv: {"Type":"ErrorResponse","Severity":"ERROR","SeverityUnlocalized":"ERROR","Code":"42883","Message":"function graphql.get_built_schema_version() does not exist","Detail":"","Hint":"","Position":0,"InternalPosition":0,"InternalQuery":"","Where":"","SchemaName":"","TableName":"","ColumnName":"","DataTypeName":"","ConstraintName":"","File":"parse_func.c","Line":2444,"Routine":"LookupFuncWithArgs","UnknownFields":null}
2022/11/17 15:50:21 PG Recv: {"Type":"ReadyForQuery","TxStatus":"I"}
2022/11/17 15:50:21 PG Send: {"Type":"Terminate"}
Error: ERROR: function graphql.get_built_schema_version() does not exist (SQLSTATE 42883)
At statement 107:


--
-- Name: FUNCTION "get_built_schema_version"(); Type: ACL; Schema: graphql; Owner: supabase_admin
--

GRANT ALL ON FUNCTION "graphql"."get_built_schema_version"() TO "postgres";
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

ERROR function graphql.get_schema_version() does not exist
SupabaseSSupabase / help-and-questions
4y ago
Creating local project from remote -- ERROR relation graphql.schema_version does not exist
SupabaseSSupabase / help-and-questions
4y ago
schema "cron" does not exist
SupabaseSSupabase / help-and-questions
3y ago
containers will not start from CLI database `_supabase` does not exist
SupabaseSSupabase / help-and-questions
13mo ago