Feature thought: idle in transaction timeout

Поиск
Список
Период
Сортировка
От Joshua D. Drake
Тема Feature thought: idle in transaction timeout
Дата
Msg-id 460C20A8.7090502@commandprompt.com
обсуждение исходный текст
Ответы Re: Feature thought: idle in transaction timeout  (Russell Smith <mr-russ@pws.com.au>)
Список pgsql-hackers
Hello,

I ran into an interesting problem with a customer today. They are 
running Jabber XCP (not the one we use). Unfortunately, the product has 
a bug that causes it to leave connections persistent in a transaction 
state. This is what it does:

BEGIN; SELECT 1;

Basically it is verifying that the connection is live. However, it never 
calls commit. So what happens? We can't vacuum ;).

Anyway, my thought is, we know when a transaction is idle, why not have 
an idle timeout where we will explicitly close the connection or 
rollback or something? User configurable of course.

Sincerely,

Joshua D. Drake



-- 
      === The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive  PostgreSQL solutions since 1997             http://www.commandprompt.com/

Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate
PostgreSQL Replication: http://www.commandprompt.com/products/



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Simon Riggs"
Дата:
Сообщение: Re: CREATE INDEX and HOT - revised design
Следующее
От: "Simon Riggs"
Дата:
Сообщение: Re: [PATCHES] Full page writes improvement, code update