Re: Why is psql \copy process stuck? - Mailing list pgsql-general

From Tom Lane
Subject Re: Why is psql \copy process stuck?
Date
Msg-id 4313.1116088838@sss.pgh.pa.us
Whole thread Raw
In response to Why is psql \copy process stuck?  (Jack Orenstein <jao@geophile.com>)
Responses Re: Why is psql \copy process stuck?
List pgsql-general
Jack Orenstein <jao@geophile.com> writes:
> 21167 ?        S      0:00 /usr/local/pgsql/bin/psql -h 10.3.1.154 mydb -U username -c \copy sometable to stdout

> Why is process 21167 stuck?

Are you sure it's made a connection at all?  You might try attaching to
it with a debugger to get a stack trace.  Also, see if you can identify
a connected backend on the remote machine, and gdb that to see what it
is doing.

            regards, tom lane

pgsql-general by date:

Previous
From: Jack Orenstein
Date:
Subject: Why is psql \copy process stuck?
Next
From: Jack Orenstein
Date:
Subject: Re: Why is psql \copy process stuck?