(initdb_options=None)
| 228 | |
| 229 | |
| 230 | def _get_initdb_options(initdb_options=None): |
| 231 | if not initdb_options: |
| 232 | initdb_options = {} |
| 233 | else: |
| 234 | initdb_options = dict(initdb_options) |
| 235 | |
| 236 | # Make the default superuser name stable. |
| 237 | if 'username' not in initdb_options: |
| 238 | initdb_options['username'] = 'postgres' |
| 239 | |
| 240 | return initdb_options |
| 241 | |
| 242 | |
| 243 | def _init_default_cluster(initdb_options=None): |
no outgoing calls
no test coverage detected