Always store CMDLINE_OPTIONS config values as int (#2861)

This commit is contained in:
Polina Bungina
2023-09-18 12:59:55 +02:00
committed by Alexander Kukushkin
parent 564dd7e7af
commit 85db209c19
5 changed files with 32 additions and 6 deletions
+1 -1
View File
@@ -682,7 +682,7 @@ class TestPostgresql(BaseTestPostgresql):
self.assertIsNone(self.p.wait_for_startup())
def test_get_server_parameters(self):
config = {'parameters': {'wal_level': 'hot_standby'}, 'listen': '0'}
config = {'parameters': {'wal_level': 'hot_standby', 'max_prepared_transactions': 100}, 'listen': '0'}
self.p._global_config = GlobalConfig({'synchronous_mode': True})
self.p.config.get_server_parameters(config)
self.p._global_config = GlobalConfig({'synchronous_mode': True, 'synchronous_mode_strict': True})