Обсуждение: database still hanging

Поиск
Список
Период
Сортировка

database still hanging

От
alonso
Дата:
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".
--
View this message in context: http://www.nabble.com/database-still-hanging-tf4440057.html#a12668226
Sent from the PostgreSQL - general mailing list archive at Nabble.com.