Re: [PATCH] Logical decoding of TRUNCATE

Поиск
Список
Период
Сортировка
Искать
От
Amit Kapila
Тема
Re: [PATCH] Logical decoding of TRUNCATE
Дата
Msg-id
CAA4eK1KXpXV2DqEc32WKmpPQJvKNLm9RD0jCqV7BGYLGK=Oo7Q@mail.gmail.com
Ответ на
Список
Дерево обсуждения
[PATCH] Logical decoding of TRUNCATE Marco Nenciarini <marco.nenciarini@2ndquadrant.it>
Re: [PATCH] Logical decoding of TRUNCATE Andres Freund <andres@anarazel.de>
Re: [PATCH] Logical decoding of TRUNCATE Simon Riggs <simon@2ndquadrant.com>
Re: [PATCH] Logical decoding of TRUNCATE Marco Nenciarini <marco.nenciarini@2ndquadrant.it>
Re: [PATCH] Logical decoding of TRUNCATE Marco Nenciarini <marco.nenciarini@2ndquadrant.it>
Re: [PATCH] Logical decoding of TRUNCATE Marco Nenciarini <marco.nenciarini@2ndquadrant.it>
Re: [PATCH] Logical decoding of TRUNCATE Marco Nenciarini <marco.nenciarini@2ndquadrant.it>
Re: [PATCH] Logical decoding of TRUNCATE Petr Jelinek <petr.jelinek@2ndquadrant.com>
Re: [PATCH] Logical decoding of TRUNCATE Robert Haas <robertmhaas@gmail.com>
Re: [PATCH] Logical decoding of TRUNCATE Petr Jelinek <petr.jelinek@2ndquadrant.com>
Re: [PATCH] Logical decoding of TRUNCATE Robert Haas <robertmhaas@gmail.com>
Re: [PATCH] Logical decoding of TRUNCATE Simon Riggs <simon@2ndquadrant.com>
Re: [PATCH] Logical decoding of TRUNCATE Marco Nenciarini <marco.nenciarini@2ndquadrant.it>
Re: [PATCH] Logical decoding of TRUNCATE Petr Jelinek <petr.jelinek@2ndquadrant.com>
Re: [PATCH] Logical decoding of TRUNCATE Petr Jelinek <petr.jelinek@2ndquadrant.com>
Re: [PATCH] Logical decoding of TRUNCATE Marco Nenciarini <marco.nenciarini@2ndquadrant.it>
Re: [PATCH] Logical decoding of TRUNCATE Petr Jelinek <petr.jelinek@2ndquadrant.com>
Re: [PATCH] Logical decoding of TRUNCATE Marco Nenciarini <marco.nenciarini@2ndquadrant.it>
Re: [PATCH] Logical decoding of TRUNCATE Petr Jelinek <petr.jelinek@2ndquadrant.com>
Re: [PATCH] Logical decoding of TRUNCATE Marco Nenciarini <marco.nenciarini@2ndquadrant.it>
Re: [PATCH] Logical decoding of TRUNCATE Petr Jelinek <petr.jelinek@2ndquadrant.com>
Re: [PATCH] Logical decoding of TRUNCATE Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [PATCH] Logical decoding of TRUNCATE Petr Jelinek <petr.jelinek@2ndquadrant.com>
Re: [PATCH] Logical decoding of TRUNCATE Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [PATCH] Logical decoding of TRUNCATE Petr Jelinek <petr.jelinek@2ndquadrant.com>
Re: [PATCH] Logical decoding of TRUNCATE Thomas Munro <thomas.munro@enterprisedb.com>
Re: [PATCH] Logical decoding of TRUNCATE Petr Jelinek <petr.jelinek@2ndquadrant.com>
Re: [PATCH] Logical decoding of TRUNCATE Marco Nenciarini <marco.nenciarini@2ndquadrant.it>
Re: [PATCH] Logical decoding of TRUNCATE Andres Freund <andres@anarazel.de>
Re: [PATCH] Logical decoding of TRUNCATE Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [PATCH] Logical decoding of TRUNCATE Andres Freund <andres@anarazel.de>
Re: [PATCH] Logical decoding of TRUNCATE Simon Riggs <simon@2ndquadrant.com>
Re: [PATCH] Logical decoding of TRUNCATE Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [PATCH] Logical decoding of TRUNCATE Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [PATCH] Logical decoding of TRUNCATE Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: [PATCH] Logical decoding of TRUNCATE Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Re: [PATCH] Logical decoding of TRUNCATE Noah Misch <noah@leadboat.com>
Re: [PATCH] Logical decoding of TRUNCATE Andres Freund <andres@anarazel.de>
Re: [PATCH] Logical decoding of TRUNCATE Peter Geoghegan <pg@bowt.ie>
Re: [PATCH] Logical decoding of TRUNCATE Andres Freund <andres@anarazel.de>
Re: [PATCH] Logical decoding of TRUNCATE Noah Misch <noah@leadboat.com>
Re: [PATCH] Logical decoding of TRUNCATE Amit Kapila <amit.kapila16@gmail.com>
Re: [PATCH] Logical decoding of TRUNCATE Noah Misch <noah@leadboat.com>
Re: [PATCH] Logical decoding of TRUNCATE Simon Riggs <simon@2ndquadrant.com>
Re: [PATCH] Logical decoding of TRUNCATE Simon Riggs <simon@2ndquadrant.com>
Re: [PATCH] Logical decoding of TRUNCATE Andres Freund <andres@anarazel.de>
Re: [PATCH] Logical decoding of TRUNCATE Christophe Pettus <xof@thebuild.com>
Logical decoding of TRUNCATE vs DELETE Jeremy Schneider <schnjere@amazon.com>
Re: [PATCH] Logical decoding of TRUNCATE Marco Nenciarini <marco.nenciarini@2ndquadrant.it>
On Sun, Dec 20, 2020 at 9:43 AM Noah Misch  wrote:
>
> Since commit 039eb6e added logical replication support for TRUNCATE, logical
> apply of the TRUNCATE fails if it chooses a parallel index build:
>

I think the TRUNCATE operation should not use parallelism either via
apply worker or without it because there is nothing to scan in heap.
Additionally, we can have an Assert or elog in InitializeParallelDSM
to ensure that it is never invoked by parallel worker.

-- 
With Regards,
Amit Kapila.


В списке pgsql-hackers по дате отправления
От: Bharath Rupireddy
Дата:
От: Masahiko Sawada
Дата:
FAQ