mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Rework libpq threaded SIGPIPE handling to avoid interference with
calling applications. This is done by blocking sigpipe in the libpq thread and using sigpending/sigwait to possibily discard any sigpipe we generated.
This commit is contained in:
12
configure
vendored
12
configure
vendored
@ -17431,6 +17431,18 @@ _ACEOF
|
||||
fi
|
||||
HAVE_POSIX_SIGNALS=$pgac_cv_func_posix_signals
|
||||
|
||||
if test "$pgac_cv_func_posix_signals" != yes -a "$enable_thread_safety" = yes; then
|
||||
{ { echo "$as_me:$LINENO: error:
|
||||
*** Thread-safety requires POSIX signals, which are not supported by your
|
||||
*** operating system.
|
||||
" >&5
|
||||
echo "$as_me: error:
|
||||
*** Thread-safety requires POSIX signals, which are not supported by your
|
||||
*** operating system.
|
||||
" >&2;}
|
||||
{ (exit 1); exit 1; }; }
|
||||
fi
|
||||
|
||||
if test $ac_cv_func_fseeko = yes; then
|
||||
# Check whether --enable-largefile or --disable-largefile was given.
|
||||
if test "${enable_largefile+set}" = set; then
|
||||
|
Reference in New Issue
Block a user