Whether or not transactional advisory locks should be used with PostgreSQL.
If false, session-level locks will be used instead.
true
./flyway -postgresql.transactional.lock=false info
flyway.postgresql.transactional.lock=false
FLYWAY_POSTGRESQL_TRANSACTIONAL_LOCK=false
PostgreSQLConfigurationExtension configurationExtension = configuration.getPluginRegister().getPlugin(PostgreSQLConfigurationExtension.class)
configurationExtension.setTransactionalLock(false);
flyway {
pluginConfiguration [
postgresqlTransactionalLock: false
]
}
<configuration>
<pluginConfiguration>
<postgresqlTransactionalLock>false</postgresqlTransactionalLock>
</pluginConfiguration>
</configuration>