(self, user)
| 432 | self.reload() |
| 433 | |
| 434 | def trust_local_replication_by(self, user): |
| 435 | if _system != 'Windows': |
| 436 | self.add_hba_entry(type='local', database='replication', |
| 437 | user=user, auth_method='trust') |
| 438 | self.add_hba_entry(type='host', address='127.0.0.1/32', |
| 439 | database='replication', user=user, |
| 440 | auth_method='trust') |
| 441 | self.add_hba_entry(type='host', address='::1/128', |
| 442 | database='replication', user=user, |
| 443 | auth_method='trust') |
| 444 | status = self.get_status() |
| 445 | if status == 'running': |
| 446 | self.reload() |
| 447 | |
| 448 | def _init_env(self): |
| 449 | if not self._pg_bin_dir: |
no test coverage detected