Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita40c17e

Browse files
committed
Fix comment.
1 parent8b9f293 commita40c17e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

‎src/bin/psql/command.c

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright 2000 by PostgreSQL Global Development Group
55
*
6-
* $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.64 2002/01/18 16:14:54 tgl Exp $
6+
* $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.65 2002/02/20 22:47:12 tgl Exp $
77
*/
88
#include"postgres_fe.h"
99
#include"command.h"
@@ -1286,12 +1286,11 @@ do_connect(const char *new_dbname, const char *new_user)
12861286

12871287
/* need to prompt for password? */
12881288
if (pset.getPassword)
1289-
pwparam=prompted_password=simple_prompt("Password: ",100, false);/* need to save for
1290-
* free() */
1289+
pwparam=prompted_password=simple_prompt("Password: ",100, false);
12911290

12921291
/*
1293-
* Use old password if no new one given(if you didn't have an old
1294-
*one, fine)
1292+
* Use old password(ifany) ifno new one givenand we are
1293+
*reconnecting as same user
12951294
*/
12961295
if (!pwparam&&oldconn&&PQuser(oldconn)&&userparam&&
12971296
strcmp(PQuser(oldconn),userparam)==0)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp