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

Commit9ef75bb

Browse files
committed
Fix compile breakage from SIGPIPE fix for threading.
1 parente5fddaa commit9ef75bb

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

‎src/interfaces/libpq/fe-secure.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*
1212
*
1313
* IDENTIFICATION
14-
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.59 2004/12/02 23:20:21 tgl Exp $
14+
* $PostgreSQL: pgsql/src/interfaces/libpq/fe-secure.c,v 1.60 2004/12/03 01:58:43 momjian Exp $
1515
*
1616
* NOTES
1717
* [ Most of these notes are wrong/obsolete, but perhaps not all ]
@@ -429,8 +429,10 @@ pqsecure_write(PGconn *conn, const void *ptr, size_t len)
429429

430430
if (n==-1)
431431
{
432+
#ifdefENABLE_THREAD_SAFETY
432433
if (SOCK_ERRNO==EPIPE)
433434
got_epipe= true;
435+
#endif
434436
printfPQExpBuffer(&conn->errorMessage,
435437
libpq_gettext("SSL SYSCALL error: %s\n"),
436438
SOCK_STRERROR(SOCK_ERRNO,sebuf,sizeof(sebuf)));

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp