Content-Length: 260504 | pFad | http://github.com/postgrespro/postgres/commit/853c8c75571558f4b474eeac3ef9e6fcf9be62ba

3D Factor out system call names from error messages · postgrespro/postgres@853c8c7 · GitHub
Skip to content

Commit 853c8c7

Browse files
committed
Factor out system call names from error messages
One more that ought to have been part of 82c3cd9.
1 parent 205f466 commit 853c8c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/interfaces/libpq/fe-connect.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1988,7 +1988,8 @@ setKeepalivesWin32(PGconn *conn)
19881988
!= 0)
19891989
{
19901990
appendPQExpBuffer(&conn->errorMessage,
1991-
libpq_gettext("WSAIoctl(SIO_KEEPALIVE_VALS) failed: %d\n"),
1991+
libpq_gettext("%s(%s) failed: error code %d\n"),
1992+
"WSAIoctl", "SIO_KEEPALIVE_VALS",
19921993
WSAGetLastError());
19931994
return 0;
19941995
}

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/853c8c75571558f4b474eeac3ef9e6fcf9be62ba

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy