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
Describe the bug
I upgraded my postgres version on cloud supabase and wanted to have my local setup match the cloud setup.
I removed my /supabase folder and ran the supabase init process again and linked my project but this time I'm getting that a function does not exist on my local supabase setup when running supabase db reset after running supabase db pull
To Reproduce
Steps to reproduce the behavior:
Initialize supabase project with psotgres version >= '15.1.1.44'
Have the vector extension on cloud supabase
Run supabase init
Run supabase db pull
Run supabase db reset
See error
Error: ERROR: function public.hnswhandler(internal) does not exist (SQLSTATE 42883)
At statement 176: GRANT ALL ON FUNCTION "public"."hnswhandler"("internal") TO "postgres"
Expected behavior
I expected that my local dev supabase will run just fine but it's not.
Upon running SELECT pg_get_functiondef(to_regprocedure('public.hnswhandler(internal)')); via PSQL on my local dev setup, it says that the function does not exist. However running the same on the hosted supabase DB will return the function definition.
System information
Version of OS: Ubuntu 20.04
Version of CLI: 1.167.4
Version of Docker: 24.0.6
Versions of services:
Additional context
If applicable, add any other context about the problem here.
Version of Node.js: V19.6.0
The text was updated successfully, but these errors were encountered:
Describe the bug
I upgraded my postgres version on cloud supabase and wanted to have my local setup match the cloud setup.
I removed my
/supabase
folder and ran thesupabase init
process again and linked my project but this time I'm getting that a function does not exist on my local supabase setup when runningsupabase db reset
after runningsupabase db pull
To Reproduce
Steps to reproduce the behavior:
supabase init
supabase db pull
supabase db reset
Expected behavior
I expected that my local dev supabase will run just fine but it's not.
Upon running
SELECT pg_get_functiondef(to_regprocedure('public.hnswhandler(internal)'));
via PSQL on my local dev setup, it says that the function does not exist. However running the same on the hosted supabase DB will return the function definition.System information
Additional context
If applicable, add any other context about the problem here.
The text was updated successfully, but these errors were encountered: