Bruce Momjian <[EMAIL PROTECTED]> writes:
> Yes, that is the logic in my patch, except that I don't check errno, I
> just call sigpending().
No, that's wrong: if there is a pending SIGPIPE that belongs to the
outer app, you'd clear it.
> There are a few writes and it seemed impossible
> to check them all.
Hmm? There is only one place this needs to be done, namely
pqsecure_write.
BTW, have you posted the patch yet or are you still working on it?
The mail server seems a bit flaky today ...
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faqs/FAQ.html