mirror of
https://github.com/postgres/postgres.git
synced 2025-04-21 12:05:57 +03:00
Fix peculiar, untranslatable message concatenation attempt
This commit is contained in:
parent
b2640888d9
commit
2fb605ec76
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.390 2010/03/13 14:55:57 momjian Exp $
|
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-connect.c,v 1.391 2010/03/17 20:58:38 petere Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -4463,10 +4463,9 @@ dot_pg_pass_warning(PGconn *conn)
|
|||||||
|
|
||||||
if (!getPgPassFilename(pgpassfile))
|
if (!getPgPassFilename(pgpassfile))
|
||||||
return;
|
return;
|
||||||
appendPQExpBufferStr(&conn->errorMessage,
|
appendPQExpBuffer(&conn->errorMessage,
|
||||||
libpq_gettext("password retrieved from "));
|
libpq_gettext("password retrieved from file \"%s\"\n"),
|
||||||
appendPQExpBufferStr(&conn->errorMessage, pgpassfile);
|
pgpassfile);
|
||||||
appendPQExpBufferChar(&conn->errorMessage, '\n');
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user