Search code examples
postgresqlserializationpersistencetransaction-isolationserver-variables

Set PostgreSQL transaction isolation persistently


I'd like to persistently set the transaction isolation level to SERIALIZABLE for all future sessions, but I can see only see a way to do it at the session only.

If this is possible, how can it be done?


Solution

  • This answer has the solution.

    The variable is default_transaction_isolation.