Can't use vault inside trigger locally
I'm using Docker on Windows WSL2
I'm using the Supabase JS SDK to call a function which reads from the vault:
When I call it from my SQL client (DBeaver) it works properly. Other function calls and SQL queries work correctly.
My simple func:
3 Replies
are your other functions that you are calling using vault?
They arent being called at all. This is an issue with using the REST API to call a SQL func
one thing i'm wondering is why pg_temp and public are being set as search paths. Mainly because you only read from vault.
i don't think that is the issue and that it's something to do with vault but possible worth investigating if you need those search paths?
otherwise a support ticket is your best bet