"No transaction in progress" warning

Поиск
Список
Период
Сортировка
От Conrad Lender
Тема "No transaction in progress" warning
Дата
Msg-id 4A02B8E5.1070200@gmail.com
обсуждение исходный текст
Ответы Re: "No transaction in progress" warning  (Adrian Klaver <aklaver@comcast.net>)
Re: "No transaction in progress" warning  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hello.

We've recently discovered a bug in our code that resulted in COMMITs
without BEGINs, and our client saw "no transaction in progress" warnings
in his log file. What worries me is that we didn't discover this problem
during development - the warning doesn't show up in our logs. We're both
using 8.3, and the settings in both postgresql.conf files are similar
(except for memory settings and file locations).

SHOW log_min_messages;
 log_min_messages
------------------
 notice
(1 row)

I thought this would cause all warnings to be logged automatically. When
I enter "COMMIT" in psql, I do get the warning, but I don't see it in
the log file. What could be the problem?


Thanks,
  - Conrad

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

Предыдущее
От: S Arvind
Дата:
Сообщение: Upgrading from postgres 8.1 to 8.3
Следующее
От: Glyn Astill
Дата:
Сообщение: Re: Upgrading from postgres 8.1 to 8.3