This commit is contained in:
@@ -45,6 +45,7 @@ catch (Exception ex)
|
|||||||
|
|
||||||
|
|
||||||
//================== LAUNCH POSTGRES SERVER ==================
|
//================== LAUNCH POSTGRES SERVER ==================
|
||||||
|
//https://notepad.onghu.com/2021/portable-postgresql-on-windows-without-installation/
|
||||||
ProcessStartInfo PGStartInfo = new ProcessStartInfo();
|
ProcessStartInfo PGStartInfo = new ProcessStartInfo();
|
||||||
PGStartInfo.EnvironmentVariables["PGDATA"] = Path.Combine(DataPath, "database");
|
PGStartInfo.EnvironmentVariables["PGDATA"] = Path.Combine(DataPath, "database");
|
||||||
PGStartInfo.EnvironmentVariables["PGDATABASE"] = "AyaNova";
|
PGStartInfo.EnvironmentVariables["PGDATABASE"] = "AyaNova";
|
||||||
|
|||||||
Reference in New Issue
Block a user