Re: ERROR : invalid transaction termination : PostgreSQL v12

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: ERROR : invalid transaction termination : PostgreSQL v12
Дата
Msg-id CAKFQuwZDfW2THiNe0Y95YLKGugH8h_7T1KOfCr7E7w3B1BPJZA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: ERROR : invalid transaction termination : PostgreSQL v12  (Holger Jakobs <holger@jakobs.com>)
Ответы Re: ERROR : invalid transaction termination : PostgreSQL v12
Список pgsql-admin
On Tue, Nov 24, 2020 at 12:57 AM Holger Jakobs <holger@jakobs.com> wrote:

What is the point of COMMITting after a few records? Why not let the whole batch run through. If there are any errors, PostgreSQL will rollback the whole transaction anyway.

Avoiding that behavior is the point of batching with periodic commits.

David J.

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

Предыдущее
От: Keith
Дата:
Сообщение: Re: Re-index
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: Streaming Replication replay lag