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