Content-Length: 275765 | pFad | http://github.com/postgrespro/postgres/commit/f4482a542c30034c7871fd35050128823ef5c6d5
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 784e762 commit f4482a5Copy full SHA for f4482a5
src/bin/pg_basebackup/streamutil.c
@@ -117,7 +117,7 @@ GetConnection(void)
117
/* If -W was given, force prompt for password, but only the first time */
118
need_password = (dbgetpassword == 1 && dbpassword == NULL);
119
120
- while (true)
+ do
121
{
122
/* Get a new password if appropriate */
123
if (need_password)
@@ -161,9 +161,8 @@ GetConnection(void)
161
PQfinish(tmpconn);
162
need_password = true;
163
}
164
- else
165
- break;
166
+ while (need_password);
167
168
if (PQstatus(tmpconn) != CONNECTION_OK)
169
Fetched URL: http://github.com/postgrespro/postgres/commit/f4482a542c30034c7871fd35050128823ef5c6d5
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy
0 commit comments