Skip site navigation (1) Skip section navigation (2)

Re: Full socket send buffer prevents cancel, timeout

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Stephen R(dot) van den Berg" <srb(at)cuci(dot)nl>
Cc: Michael Fuhr <mike(at)fuhr(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Full socket send buffer prevents cancel, timeout
Date: 2008-10-27 12:28:47
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
"Stephen R. van den Berg" <srb(at)cuci(dot)nl> writes:
> What about simply closing the filedescriptor upon discovering a
> non-empty sendbuffer upon timeout/querycancel?

So in other words, convert any network glitch, no matter how small,
into an instant fatal error?

			regards, tom lane

In response to


pgsql-hackers by date

Next:From: Tom LaneDate: 2008-10-27 12:42:19
Subject: Re: ERRORDATA_STACK_SIZE exceeded (server crash)
Previous:From: Tom LaneDate: 2008-10-27 12:27:13
Subject: Re: Parsing errors in pg_hba.conf

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group