PostgreSQL: Remove from PATH/Add environment variables. (#1099)

* Removed PostgreSQL server from path.

* Added new Paths

* added another solution for documentation

* Fixed path in generator.
This commit is contained in:
Darii Nurgaleev
2020-06-25 16:20:48 +07:00
committed by GitHub
parent e0c359be4c
commit 32bea7d8d3
3 changed files with 12 additions and 4 deletions

View File

@@ -1,4 +1,5 @@
$pgReady = Start-Process -FilePath pg_isready -Wait -PassThru
$pgReadyPath = Join-Path $PGBIN "pg_isready.exe"
$pgReady = Start-Process -FilePath $pgReadyPath -Wait -PassThru
$exitCode = $pgReady.ExitCode
if ($exitCode -eq 0)