Re: Connection gets into state where all queries fail

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Connection gets into state where all queries fail
Дата
Msg-id 20040623014933.GB30207@svana.org
обсуждение исходный текст
Ответ на Re: Connection gets into state where all queries fail  (Scott Ribe <scott_ribe@killerbytes.com>)
Ответы Re: Connection gets into state where all queries fail  (Scott Ribe <scott_ribe@killerbytes.com>)
Re: Connection gets into state where all queries fail  (Marco Colombo <marco@esi.it>)
Список pgsql-general
On Tue, Jun 22, 2004 at 07:02:28PM -0600, Scott Ribe wrote:
> I suppose psql sends either a commit or rollback after the query generates
> the error, maybe after every query, so my attempt to use it to check this
> wasn't a valid test.

Nope, psql breaks the statements on ';' and sends each query
individually, so the issue never comes up.
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Вложения

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

Предыдущее
От: "Andrew Bartley"
Дата:
Сообщение: Re: Deleting all but one row of a list of non-uniques
Следующее
От: Scott Ribe
Дата:
Сообщение: Re: Connection gets into state where all queries fail