From: | Jeff Janes <jeff(dot)janes(at)gmail(dot)com> |
---|---|
To: | Greg Stark <stark(at)mit(dot)edu> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Tatsuo Ishii <ishii(at)postgresql(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: killing pg_dump leaves backend process |
Date: | 2013-08-12 16:27:02 |
Message-ID: | CAMkU=1wCf9LeQXRge1ty9uDHEQRi2v9Mpe2Pox1xVdG6TZ2XcA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Sat, Aug 10, 2013 at 4:26 AM, Greg Stark <stark(at)mit(dot)edu> wrote:
>
> The problem is that I don't know of any way to detect eof on a socket
> other than trying to read from it (or calling poll or select). So the
> server would have to periodically poll the client even when it's not
> expecting any data. The inefficiency is annoying enough and it still
> won't detect the eof immediately.
Do we know how inefficient it is, compared to the baseline work done
by CHECK_FOR_INTERRUPTS() and its affiliated machinery?
...
>
> I'm surprised this is the first time we're hearing people complain
> about this. I know I've seen similar behaviour from Mysql and thought
> to myself that represented pretty poor behaviour and assumed Postgres
> did better.
I've seen other complaints about it (and made at least one myself)
Cheers,
Jeff
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2013-08-12 16:28:26 | Re: pg_dump and schema names |
Previous Message | Kodamasimham Pridhvi (MT2012066) | 2013-08-12 16:25:31 | Re: Proposal for XML Schema Validation |