Re: Re-run query on automatic reconnect

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Re-run query on automatic reconnect
Дата
Msg-id 20050926205202.GA37038@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re-run query on automatic reconnect  ("Jim C. Nasby" <jnasby@pervasive.com>)
Ответы Re: Re-run query on automatic reconnect  ("Jim C. Nasby" <jnasby@pervasive.com>)
Список pgsql-hackers
On Mon, Sep 26, 2005 at 01:23:03PM -0500, Jim C. Nasby wrote:
> Is there any particular reason why psql doesn't re-run a query that
> failed due to disconnect from the server after re-connecting? I've
> thought maybe it's because it might somehow be dangerous, but I can't
> think of any case where that's actually true.

What if the query itself resulted in the disconnect by causing the
backend to crash?  Re-running such a query automatically would be
a bad idea.  Or did I misunderstand what you're asking?

-- 
Michael Fuhr


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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: Patching dblink.c to avoid warning about open transaction
Следующее
От: "Magnus Hagander"
Дата:
Сообщение: Re: Open items list for 8.1