N
Neon6mo ago
genetic-orange

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?
1 Reply
genetic-orange
genetic-orangeOP6mo ago
.

Did you find this page helpful?