Skip to content

Commit 8141af1

Browse files
author
Biraj Mainali
committed
fix : symbolic database name
1 parent e7c4fdb commit 8141af1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Form1.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ private static void ActionToPerform(CommandAndConnectionVo vo)
131131
const string pwdKey = "PGPASSWORD";
132132
var proc = new Process();
133133
proc.StartInfo.FileName = "psql";
134-
proc.StartInfo.Arguments = $@"-U {vo.User} -c ""{vo.Type} database {vo.Database}""";
134+
proc.StartInfo.Arguments = $@"-U {vo.User} -c ""{vo.Type} database """"{vo.Database}""""";
135135
proc.StartInfo.RedirectStandardOutput = true;
136136
proc.StartInfo.RedirectStandardError = true;
137137
proc.StartInfo.UseShellExecute = false;

0 commit comments

Comments
 (0)