8000
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 4f9bf7f commit e8191d9Copy full SHA for e8191d9
src/bin/psql/startup.c
@@ -3,7 +3,7 @@
3
*
4
* Copyright (c) 2000-2007, PostgreSQL Global Development Group
5
6
- * $PostgreSQL: pgsql/src/bin/psql/startup.c,v 1.142 2007/12/09 19:01:40 tgl Exp $
+ * $PostgreSQL: pgsql/src/bin/psql/startup.c,v 1.143 2007/12/09 19:04:47 tgl Exp $
7
*/
8
#include "postgres_fe.h"
9
@@ -194,8 +194,8 @@ main(int argc, char *argv[])
194
else
195
{
196
password_prompt = malloc(strlen(_("Password for user %s: ")) - 2 +
197
- strlen(options.username) + 1);
198
- sprintf(password_prompt, _("Password for user %s: "), options.username);
+ strlen(username) + 1);
+ sprintf(password_prompt, _("Password for user %s: "), username);
199
}
200
201
if (pset.getPassword)
0 commit comments