Re: Vacuum process waiting on BufferPin

Поиск
Список
Период
Сортировка
От Don Seiler
Тема Re: Vacuum process waiting on BufferPin
Дата
Msg-id CAHJZqBD0ecLukUSVcU=waP93Z9nnxVM2+f9SF9L0wnOVM0Xwpw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Vacuum process waiting on BufferPin  (Vick Khera <vivek@khera.org>)
Ответы Re: Vacuum process waiting on BufferPin  (Vik Fearing <vik.fearing@2ndquadrant.com>)
Список pgsql-general
On Tue, Aug 14, 2018 at 8:23 AM, Vick Khera <vivek@khera.org> wrote:

The general fix is to never sit idle in transaction, but this specific case closing the cursor seems like it will also do it.

Of course. I've let development know that they need to sort out why it's left that way. But if they're also NOT closing cursors, that seems like another bad practice to correct.

Would commit/rollback automatically close cursors opened in that transaction?

Don.

--
Don Seiler
www.seiler.us

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

Предыдущее
От: Vick Khera
Дата:
Сообщение: Re: Vacuum process waiting on BufferPin
Следующее
От: pavan95
Дата:
Сообщение: Re: Copying data from a CSV file into a table dynamically