projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
205f466
)
Factor out system call names from error messages
author
Peter Eisentraut
Mon, 3 May 2021 05:27:31 +0000
(07:27 +0200)
committer
Peter Eisentraut
Mon, 3 May 2021 05:27:31 +0000
(07:27 +0200)
One more that ought to have been part of
82c3cd974131d7fa1cfcd07cebfb04fffe26ee35
.
src/interfaces/libpq/fe-connect.c
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/libpq/fe-connect.c
b/src/interfaces/libpq/fe-connect.c
index 5a57c9d75b4026f7d1ba405ad4d1e6a0af0a9f20..3242cfc874e5df1742919379681199c5c3bf5024 100644
(file)
--- a/
src/interfaces/libpq/fe-connect.c
+++ b/
src/interfaces/libpq/fe-connect.c
@@
-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;
}