Re: Orphaned statements issue

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Orphaned statements issue
Дата
Msg-id 22341.1295562373@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Orphaned statements issue  (Josh Berkus <josh@agliodbs.com>)
Ответы Re: Orphaned statements issue  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-hackers
Josh Berkus <josh@agliodbs.com> writes:
>> I would take that to mean that it's waiting on the client.

> You mean that the client timed out and isn't accepting data from the
> query anymore?

No, if the backend is in RECV state, it's waiting for the client to
*send* it something.

(Although if this is an SSL connection, it's a bit harder to be sure
about what the logical state of the connection is.)

> Shouldn't Postgres time out on that after a while?

Not if the problem is the client is confused.  As long as the remote-end
kernel doesn't indicate the connection is dead, we'll wait for the
client to wake up and send us a command.
        regards, tom lane


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

Предыдущее
От: Josh Berkus
Дата:
Сообщение: Re: SSI and Hot Standby
Следующее
От: Daniel Farina
Дата:
Сообщение: One Role, Two Passwords