Skip to content

Commit 9bed2e6

Browse files
committed
Fix a bug in --username option.
1 parent 6e05a36 commit 9bed2e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/pgut/pgut-fe.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ reconnect(int elevel)
4646
if (port && port[0])
4747
appendStringInfo(&buf, "port=%s ", port);
4848
if (username && username[0])
49-
appendStringInfo(&buf, "username=%s ", username);
49+
appendStringInfo(&buf, "user=%s ", username);
5050
if (password && password[0])
5151
appendStringInfo(&buf, "password=%s ", password);
5252

0 commit comments

Comments
 (0)