1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-26 12:21:12 +03:00

Fix poorly worded error message.

Adam Brightwell, per report from Martín Marqués.
This commit is contained in:
Tom Lane
2014-12-17 13:14:53 -05:00
parent cef0ae498c
commit c977b8cffc

View File

@ -1590,8 +1590,9 @@ auth_peer(hbaPort *port)
if (!pw) if (!pw)
{ {
ereport(LOG, ereport(LOG,
(errmsg("could not to look up local user ID %ld: %s", (errmsg("could not look up local user ID %ld: %s",
(long) uid, errno ? strerror(errno) : _("user does not exist")))); (long) uid,
errno ? strerror(errno) : _("user does not exist"))));
return STATUS_ERROR; return STATUS_ERROR;
} }