Re: [HACKERS] [bug fix] psql \copy doesn't end if backend is killed

2014-02-17 Thread MauMau
From: "Tom Lane" I just noticed this CF entry pertaining to the same problem that Stephen Frost reported a couple days ago: http://www.postgresql.org/message-id/20140211205336.gu2...@tamriel.snowman.net I believe it's been adequately fixed as of commits fa4440f516 and b8f00a46bc, but if you'd t

Re: [HACKERS] [bug fix] psql \copy doesn't end if backend is killed

2014-02-13 Thread Tom Lane
"MauMau" writes: > If the backend is terminated with SIGKILL while psql is running "\copy > table_name from file_name", the \copy didn't end forever. I expected \copy > to be cancelled because the corresponding server process vanished. I just noticed this CF entry pertaining to the same proble

Re: [HACKERS] [bug fix] psql \copy doesn't end if backend is killed

2014-01-31 Thread MauMau
From: "Dilip kumar" Is there any direct scenario by which it can be reproduce ? Thank you for reviewing and testing the patch. There is no other direct scenario. I reproduced the failure exactly like you suggested, because it was very difficult to reproduce the problem without using the debug

Re: [HACKERS] [bug fix] psql \copy doesn't end if backend is killed

2014-01-31 Thread Dilip kumar
On 20 December 2013 19:43, MauMau Wrote > [Problem] > If the backend is terminated with SIGKILL while psql is running "\copy > table_name from file_name", the \copy didn't end forever. I expected > \copy > to be cancelled because the corresponding server process vanished. > > > [Cause] > psql

[HACKERS] [bug fix] psql \copy doesn't end if backend is killed

2013-12-20 Thread MauMau
Hello, I've encountered a bug on PG 9.2 and fixed it for 9.4. Please find attached the patch. I'd like it to be backported to at least 9.2. [Problem] If the backend is terminated with SIGKILL while psql is running "\copy table_name from file_name", the \copy didn't end forever. I expected