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
create foreign data wrapper fserver_wrapper
handler mssql_fdw_handler
validator mssql_fdw_validator;
create server fserver
foreign data wrapper fserver_wrapper;
create or replace function public.set_fserver_connection() returns void as $$
declare
fserver_connection text;
begin
select decrypted_secret into fserver_connection
from vault.decrypted_secrets
where name = 'server_connection';
execute 'alter server fserver options (conn_string ' || quote_literal(server_connection) || ')';
end;
$$ language plpgsql;
Describe the bug
this example SQL , from Supabase docs https://supabase.com/docs/guides/database/extensions/wrappers/mssql
fails when executed in fresh environment instantiated using local CLI:
insert into vault.secrets (name, secret) values ( 'mssql', 'Server=localhost,1433;User=sa;Password=my_password;Database=master;IntegratedSecurity=false;TrustServerCertificate=true;encrypt=DANGER_PLAINTEXT;ApplicationName=wrappers' ) returning key_id;
Error: [42501] ERROR: permission denied for function _crypto_aead_det_noncegen
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It used to work , but unfortunately I don't know which version broke it.
Screenshots
N/A
System information
Additional context
The text was updated successfully, but these errors were encountered: