Re: Pg + perl + apache

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: Pg + perl + apache
Дата
Msg-id 20040215210859.GA6839@svana.org
обсуждение исходный текст
Ответ на Pg + perl + apache  ("Michael L. Artz" <dragon@october29.net>)
Ответы Re: Pg + perl + apache  ("Michael L. Artz" <dragon@october29.net>)
Список pgsql-general
On Sat, Feb 14, 2004 at 04:35:58PM -0500, Michael L. Artz wrote:
> I'm having some odd issues, but I'm not sure exactly the cause of them,
> but postgres is the component in the system that is throwing the errors,
> so I thought I'd start here.

<snip>
> with the corresponding postgresql.log entry being
>
> LOG:  statement: SELECT session_key FROM session WHERE user_id = 101
> ERROR:  current transaction is aborted, queries ignored until end of
> transaction block

This happens when, within a transaction gets an error, you don't notice and
keep blindly sending queries.

Scroll up to find the actual error.

If it's the first transaction in a session, that means someone forgot to
clear their transaction. I guess you could fix it then by sending "abort"
as the first query.

Hope this helps,

--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> If the Catholic church can survive the printing press, science fiction
> will certainly weather the advent of bookwarez.
>    http://craphound.com/ebooksneitherenorbooks.txt - Cory Doctorow

Вложения

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

Предыдущее
От: "Michael L. Artz"
Дата:
Сообщение: Pg + perl + apache
Следующее
От: Stephan Szabo
Дата:
Сообщение: Re: Confused newbie (to PG not DB's)