From 2079d53c14bfbb50b9a351b466755c7fdb4e94e7 Mon Sep 17 00:00:00 2001 From: wuyuechuan Date: Tue, 26 Jan 2021 11:24:06 +0800 Subject: [PATCH] gs_probackup: add passwd from interaction to connect info --- src/bin/pg_probackup/pgut.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/bin/pg_probackup/pgut.cpp b/src/bin/pg_probackup/pgut.cpp index e96cb5a1e..da4844054 100644 --- a/src/bin/pg_probackup/pgut.cpp +++ b/src/bin/pg_probackup/pgut.cpp @@ -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",