Re: [PATCH] Logical decoding of TRUNCATE

Поиск
Список
Период
Сортировка
Искать
От
Andres Freund
Тема
Re: [PATCH] Logical decoding of TRUNCATE
Дата
Msg-id
20201220231308.yi4t3xj2btpanxs5@alap3.anarazel.de
Ответ на
Список
Дерево обсуждения
[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>
Hi,

On 2020-12-20 04:13:19 +0000, Noah Misch wrote:
> 	postgres: subscriber: logical replication worker for subscription 16411 (GetTransactionSnapshot+0x168) [0x951ce8]
> 	postgres: subscriber: logical replication worker for subscription 16411 (InitializeParallelDSM+0x16) [0x52cf86]
> 	postgres: subscriber: logical replication worker for subscription 16411 (btbuild+0x26a) [0x50905a]
> 	postgres: subscriber: logical replication worker for subscription 16411 (index_build+0x14b) [0x569c1b]
> 	postgres: subscriber: logical replication worker for subscription 16411 (reindex_index+0x19a) [0x56caea]
> 	postgres: subscriber: logical replication worker for subscription 16411 (reindex_relation+0xc0) [0x56d090]
> 	postgres: subscriber: logical replication worker for subscription 16411 (ExecuteTruncateGuts+0x376) [0x62f0d6]
> 	postgres: subscriber: logical replication worker for subscription 16411 () [0x78d592]
> 	postgres: subscriber: logical replication worker for subscription 16411 (ApplyWorkerMain+0x5ab) [0x78e4eb]
> 	postgres: subscriber: logical replication worker for subscription 16411 (StartBackgroundWorker+0x23f) [0x75522f]
> 	postgres: subscriber: logical replication worker for subscription 16411 () [0x762a6d]
> 	postgres: subscriber: logical replication worker for subscription 16411 () [0x7635ee]
> 	/lib64/libpthread.so.0(+0xf630) [0x7fe081e97630]
> 	/lib64/libc.so.6(__select+0x13) [0x7fe0805c0983]
> 	postgres: subscriber: logical replication worker for subscription 16411 () [0x4887ac]
> 	postgres: subscriber: logical replication worker for subscription 16411 (PostmasterMain+0x1118) [0x764c88]
> 	postgres: subscriber: logical replication worker for subscription 16411 (main+0x6f2) [0x48aae2]
> 	/lib64/libc.so.6(__libc_start_main+0xf5) [0x7fe0804ed555]
> 	postgres: subscriber: logical replication worker for subscription 16411 () [0x48ab49]
> 2020-12-19 17:54:04.683 PST [3629353:5] LOG:  background worker "logical replication worker" (PID 3629509) exited with exit code 1

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()?

Greetings,

Andres Freund


В списке pgsql-hackers по дате отправления
От: Stephen Frost
Дата:
От: David Fetter
Дата:
Сообщение: Re: \gsetenv
FAQ