psql hanging

From: Steve Crawford <scrawford(at)pinpointresearch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: psql hanging
Date: 2007-09-05 00:14:39
Message-ID: 46DDF4EF.60207@pinpointresearch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

What would cause psql to hang indefinitely when the backend disappears?

We have a script that uses psql to insert a record (TCP connection to DB
on different machine). The command is basically
psql <connection_stuff> -c "insert into..."

A while back I had to restart the server and today discovered that some
of the client machines have psql processes dating back several months.

Obviously no TCP connection on the server end but client-side shows the
connection as "ESTABLISHED".

-Steve

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Maclean 2007-09-05 00:37:18 Documentation fix regarding atan2
Previous Message Scott Marlowe 2007-09-04 22:56:23 Re: UTF8 frustrations