(self, binary)
| 589 | return pg_config_path |
| 590 | |
| 591 | def _find_pg_binary(self, binary): |
| 592 | bpath = platform_exe(os.path.join(self._pg_bin_dir, binary)) |
| 593 | |
| 594 | if not os.path.isfile(bpath): |
| 595 | raise ClusterError( |
| 596 | 'could not find {} executable: '.format(binary) + |
| 597 | '{!r} does not exist or is not a file'.format(bpath)) |
| 598 | |
| 599 | return bpath |
| 600 | |
| 601 | def _get_pg_version(self): |
| 602 | process = subprocess.run( |
no test coverage detected