Open pjmv opened 1 year ago
I "solved" my problem by nuking everything with DROP EXTENSION wrappers CASCADE
and reinstalling everything afterwards which was acceptable for me as the cascade stopped at a foreign table. However I don't know how that would work for more intricate situations where the dependency chain goes further.
In which schema did you install wrappers extension? I suspect that might be caused by pause/restore didn't restore permission correctly. And how did you upgrade the extension, is it before pause/restore or after?
I did install the wrappers
extension WITH SCHEMA wrappers
I did not see a solution to upgrade without doing pause/restore, and the pause/restore solution was suggested to me by GaryAustin1 on the Supabase Discord. It seemed like the only solution to graduate to the latest release of the wrappers extension.
I ran into this issue in the past on database upgrade and it was determined that the api key for the integration (stored in vault) was not properly decrypted post database upgrade. The vault secret for the integration needed to be removed and re-added to access the foreign data from the wrapper table.
I ran into this issue in the past on database upgrade and it was determined that the api key for the integration (stored in vault) was not properly decrypted post database upgrade. The vault secret for the integration needed to be removed and re-added to access the foreign data from the wrapper table.
I am not sure how this is related because my issue was with the wrappers_fdw_stats which sits locally, not remotely ?
However it does suggest that the upgrade process should be handled a bit more gracefully...
any updates I am currently trying to use the stripe wrapper but I am getting the same problem when trying to access data from the frontend
If anyone's on the hosted version, could you please raise a support ticket. As @burmecia has pointed out, the pause/resume might have failed to restore permissions.
Created a support request for this on the hosted version (just set up a fresh install of the stripe wrapper - twice - and this problem occurs when querying a view that uses the stripe information
Bug report
Describe the bug
I was using a wrapper on my Cloud Supabase install. I needed to upgrade to be able to use the Airtable wrapper. To do so, I paused the project and reinstalled, as per advice offered on Discord (https://discord.com/channels/839993398554656828/1006358244786196510/threads/1144271220414631956)
Since then queries on the foreign tables fail because of
permission denied for table wrappers_fdw_stats
, even with thepostgres
user in psql.To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
Expected behavior
My previously configured foreign tables to work as previously
System information
Irrelevant as the problem happens server-side at Supabase's
Additional context
I tried
grant all on wrappers.wrappers_fdw_stats to postgres;
but even that failed with the same error.