Make bootstrap.initdb optional (#2685)

This commit is contained in:
Polina Bungina
2023-05-24 09:28:57 +02:00
committed by GitHub
parent 6c8a3b0d25
commit d1fdb45179
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ Bootstrap configuration
See :ref:`custom bootstrap methods documentation <custom_bootstrap>` for details.
When ``initdb`` is specified revert to the default ``initdb`` command. ``initdb`` is also triggered when no ``method``
parameter is present in the configuration file.
- **initdb**: List options to be passed on to initdb.
- **initdb**: (optional) list options to be passed on to initdb.
- **- data-checksums**: Must be enabled when pg_rewind is needed on 9.3.
- **- encoding: UTF8**: default encoding for new databases.
+1 -1
View File
@@ -773,7 +773,7 @@ schema = Schema({
Optional("retry_timeout"): int,
Optional("maximum_lag_on_failover"): int
},
"initdb": [Or(str, dict)]
Optional("initdb"): [Or(str, dict)]
},
Or(*available_dcs): Case({
"consul": {