Manfred Spraul <[EMAIL PROTECTED]> writes: > Tom Lane wrote: >> What we really want is to turn off SIGPIPE delivery on our socket >> (only), but AFAIK there is no API to do that. >> > Linux has as MSG_NOSIGNAL flag for send(), but that seems to be Linux > specific.
Hmm ... a Linux-specific solution would be better than none at all. A bigger objection is that we couldn't get libssl to use it (AFAIK). The flag really needs to be settable on the socket (eg, via fcntl), not per-send. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster