Re: how can i bugfix "idle in transaction" lockups ?

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: how can i bugfix "idle in transaction" lockups ?
Дата
Msg-id AANLkTinRsMndHXbczP5oUiRgUF_EXi+mhgK+4kqEoMAS@mail.gmail.com
обсуждение исходный текст
Ответ на Re: how can i bugfix "idle in transaction" lockups ?  (Jonathan Vanasco <postgres@2xlp.com>)
Список pgsql-general
On Fri, Dec 3, 2010 at 12:31 AM, Jonathan Vanasco <postgres@2xlp.com> wrote:
> begin w/o commit or rollback?
>
> and thanks. you've been very helpful!
>
> On Nov 30, 2010, at 2:21 PM, Merlin Moncure wrote:
>
>> Begin w/o commit is a grave application error and you should
>> consider reworking your code base so that it doesn't happen (ever).

meaning, you opened a transaction (with 'begin') and didn't close it
with 'commit' (or 'start/end' etc).  You opened a transaction but
didn't close it.  Don't ever do this, and don't ever leave a
transaction open waiting on indeterminate events, like user input.

merlin

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

Предыдущее
От: Brar Piening
Дата:
Сообщение: Re: "could not accept SSPI security context"
Следующее
От: "James B. Byrne"
Дата:
Сообщение: Re: PG84 and SELinux