Re: [HACKERS] Hang issue when COPY to/from an unopened FIFO

2016-07-14 Thread Andres Freund
On 2016-07-14 10:20:42 -0400, Tom Lane wrote: > Kenan Yao writes: > > -- mkfifo /tmp/test.dat # bash > > copy pg_class to '/tmp/test.dat'; > > -- try pg_cancel_backend or pg_terminate_backend from other sessions > > This does not seem like a supported case to me. I see few if

Re: [HACKERS] Hang issue when COPY to/from an unopened FIFO

2016-07-14 Thread Stephen Frost
* Tom Lane (t...@sss.pgh.pa.us) wrote: > Kenan Yao writes: > > -- mkfifo /tmp/test.dat # bash > > copy pg_class to '/tmp/test.dat'; > > -- try pg_cancel_backend or pg_terminate_backend from other sessions > > This does not seem like a supported case to me. I see few if any

Re: [HACKERS] Hang issue when COPY to/from an unopened FIFO

2016-07-14 Thread Tom Lane
Kenan Yao writes: > -- mkfifo /tmp/test.dat # bash > copy pg_class to '/tmp/test.dat'; > -- try pg_cancel_backend or pg_terminate_backend from other sessions This does not seem like a supported case to me. I see few if any reasons to want to do that rather than doing