gs_probackup: add passwd from interaction to connect info

This commit is contained in:
wuyuechuan
2021-01-26 11:24:06 +08:00
parent 038b9eeac1
commit 2079d53c14

View File

@ -645,7 +645,8 @@ PGconn* pgut_connect(const char *host, const char *port,
if (password == NULL || password[0] == '\0')
elog(ERROR, "no password supplied");
keywords[i] = "password";
values[i] = password;
continue;
}
elog(ERROR, "could not connect to database %s: %s",