Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2fb605e

Browse files
committed
Fix peculiar, untranslatable message concatenation attempt
1 parent b264088 commit 2fb605e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/interfaces/libpq/fe-connect.c

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.390 2010/03/13 14:55:57 momjian Exp $
11+
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.391 2010/03/17 20:58:38 petere Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -4463,10 +4463,9 @@ dot_pg_pass_warning(PGconn *conn)
44634463

44644464
if (!getPgPassFilename(pgpassfile))
44654465
return;
4466-
appendPQExpBufferStr(&conn->errorMessage,
4467-
libpq_gettext("password retrieved from "));
4468-
appendPQExpBufferStr(&conn->errorMessage, pgpassfile);
4469-
appendPQExpBufferChar(&conn->errorMessage, '\n');
4466+
appendPQExpBuffer(&conn->errorMessage,
4467+
libpq_gettext("password retrieved from file \"%s\"\n"),
4468+
pgpassfile);
44704469
}
44714470
}
44724471

0 commit comments

Comments
 (0)