1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Factor out system call names from error messages

One more that ought to have been part of
82c3cd9741.
This commit is contained in:
Peter Eisentraut
2021-05-03 07:27:31 +02:00
parent 205f466282
commit 853c8c7557

View File

@ -1988,7 +1988,8 @@ setKeepalivesWin32(PGconn *conn)
!= 0)
{
appendPQExpBuffer(&conn->errorMessage,
libpq_gettext("WSAIoctl(SIO_KEEPALIVE_VALS) failed: %d\n"),
libpq_gettext("%s(%s) failed: error code %d\n"),
"WSAIoctl", "SIO_KEEPALIVE_VALS",
WSAGetLastError());
return 0;
}