Re: Can't terminate hung COPY

From: David Rees <drees76(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Can't terminate hung COPY
Date: 2013-03-20 21:21:47
Message-ID: CAHtT9RvNM8KFB1eeh0bbGkXiRdRPOQWd-6WF+n6HLENKgkp4TA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Wed, Mar 20, 2013 at 12:37 PM, David Rees <drees76(at)gmail(dot)com> wrote:
> PostgreSQL 8.4.16 on CentOS 5.9.
>
> I've run into a situation where executing a \COPY from psql will hang
> and at that point it's impossible to terminate the COPY command.

Some additional notes:

Running psql on the same LAN for some reason works fine with the same
COPY file. On a remote network it hangs.

Tried against a PostgreSQL 9.2.3 server, same results.

The file that is being copied from is a single row - one of the
columns has decent number of \r\n in it, deleting all of either the \r
or the \n in the file allows the \COPY to succeed.

I'm trying to narrow it down to a simple test case...

-Dave

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Daniel Cristian Cruz 2013-03-20 21:36:23 Bad plan on a huge table query
Previous Message Rob Sargent 2013-03-20 21:18:30 Re: State of the art re: group default privileges