NeonN
Neon10mo ago
1 reply
colossal-harlequin

Permission denied to set parameter "sesion_replication_role"

I have a seed script that runs SET session_replication_role = 'replica' to temporarily remove all FK constraints, so I can seed the db without errors. How can I get the permission back? I'm running as neondb_owner. Alternatively, what do you suggest I do instead if I can't have the permission?
Was this page helpful?