Re: Reducing stats collection overhead
- From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
- To: Gregory Stark <stark(at)enterprisedb(dot)com>
- Cc: pgsql-hackers(at)postgresql(dot)org
- Subject: Re: Reducing stats collection overhead
- Date: Sun, 29 Apr 2007 12:30:04 -0400
- Message-id: <24113.1177864204@sss.pgh.pa.us> <text/plain>
Gregory Stark <stark(at)enterprisedb(dot)com> writes:
> If we want to have an idle_in_statement_timeout then we'll need to introduce a
> select loop instead of just directly blocking on recv anyways. Does that mean
> we may as well bite the bullet now?
If we wanted such a timeout (which I personally don't) we wouldn't
implement it with select because OpenSSL wouldn't cooperate. AFAICS
this'd require setting a timer interrupt ... and then unsetting it when
the client response comes back.
regards, tom lane
Home |
Main Index |
Thread Index