Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb557be5

Browse files
committed
Fix for no hterror().
1 parent2150c2e commitb557be5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/backend/libpq/pqcomm.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
3030
* Portions Copyright (c) 1994, Regents of the University of California
3131
*
32-
*$Id: pqcomm.c,v 1.110 2000/11/1315:18:09 momjian Exp $
32+
*$Id: pqcomm.c,v 1.111 2000/11/1321:31:46 momjian Exp $
3333
*
3434
*-------------------------------------------------------------------------
3535
*/
@@ -255,8 +255,8 @@ StreamServerPort(int family, char *hostName, unsigned short portName,
255255
if ((hp==NULL)|| (hp->h_addrtype!=AF_INET))
256256
{
257257
snprintf(PQerrormsg,PQERRORMSG_LENGTH,
258-
"FATAL: StreamServerPort: gethostbyname(%s) failed: %s\n",
259-
hostName,hstrerror(h_errno));
258+
"FATAL: StreamServerPort: gethostbyname(%s) failed\n",
259+
hostName);
260260
fputs(PQerrormsg,stderr);
261261
pqdebug("%s",PQerrormsg);
262262
returnSTATUS_ERROR;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp