Re: [PATCH] Logical decoding of TRUNCATE

Поиск
Список
Период
Сортировка
От Peter Geoghegan
Тема Re: [PATCH] Logical decoding of TRUNCATE
Дата
Msg-id CAH2-WzkKTQVWhz7ZEJKiv7c4emgAzPKL92ag64kZdbh2YKgDkw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [PATCH] Logical decoding of TRUNCATE  (Andres Freund <andres@anarazel.de>)
Ответы Re: [PATCH] Logical decoding of TRUNCATE  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Sun, Dec 20, 2020 at 3:13 PM Andres Freund <andres@anarazel.de> wrote:
> Hm. Do I understand correctly that this problem is hit solely because
> the parallel mode code relies on there already have been a transaction
> snapshot set, thus avoiding the error? And that the code normally only
> works because GetTransactionSnapshot() will already have been called
> somewhere, before EnterParallelMode()?

It seems unlikely that InitializeParallelDSM() was ever intended to be
run in a background worker.

-- 
Peter Geoghegan



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

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: \gsetenv
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: \gsetenv