Crash of logical replica with trigger

Edit
ID 3918
Title Crash of logical replica with trigger
Topic Bug Fixes
Created 2022-09-29 06:03:46
Last modified 2022-11-03 16:03:14 (2 years ago)
Latest email 2023-04-06 10:24:21 (1 year, 7 months ago)
Status
2022-11: Committed
2022-09: Moved to next CF
Target version
Authors Masahiko Sawada (masahikosawada)
Reviewers Tom Lane (tgl)Become reviewer
Committer Tom Lane (tgl)
Links CFbot results (CirrusCI) CFbot GitHub
Checkout latest CFbot patchset Go to your local checkout of the PostgreSQL repository and run:
git remote add commitfest https://github.com/postgresql-cfbot/postgresql.git
git fetch commitfest cf/3918
git checkout commitfest/cf/3918
Emails
[BUG] Crash of logical replica with trigger.
First at 2022-08-14 19:47:57 by "Anton A. Melnikov" <aamelnikov at inbox.ru>
Latest at 2022-10-07 08:40:04 by Michael Paquier <michael at paquier.xyz>
Latest attachment (fix_assertion_error.patch) at 2022-09-28 13:33:22 from Masahiko Sawada <sawada.mshk at gmail.com>
    Attachment (fix_assertion_error.patch) at 2022-09-28 13:33:22 from Masahiko Sawada <sawada.mshk at gmail.com> (Patch: Yes)
    Attachment (trigger.sql) at 2022-08-14 19:47:57 from "Anton A. Melnikov" <aamelnikov at inbox.ru> (Patch: No)
[BUG] Logical replica crash if there was an error in a function.
First at 2022-08-21 14:33:57 by "Anton A. Melnikov" <aamelnikov at inbox.ru>
Latest at 2023-04-06 10:24:21 by "Anton A. Melnikov" <aamelnikov at inbox.ru>
Latest attachment (v4-0001-Test-for-func-error-in-logrep-worker.patch) at 2023-03-16 13:14:00 from "Anton A. Melnikov" <aamelnikov at inbox.ru>
    Attachment (v4-0001-Test-for-func-error-in-logrep-worker.patch) at 2023-03-16 13:14:00 from "Anton A. Melnikov" <aamelnikov at inbox.ru> (Patch: Yes)
    Attachment (v4-0001-Test-for-func-error-in-logrep-worker.patch) at 2023-01-08 06:02:33 from "Anton A. Melnikov" <aamelnikov at inbox.ru> (Patch: Yes)
    Attachment (v3-0001-Test-for-func-error-in-logrep-worker.patch) at 2022-12-11 03:50:49 from "Anton A. Melnikov" <aamelnikov at inbox.ru> (Patch: Yes)
    Attachment (v2-0001-Test-for-func-error-in-logrep-worker.patch) at 2022-11-16 14:52:50 from "Anton A. Melnikov" <aamelnikov at inbox.ru> (Patch: Yes)
    Attachment (v1-0001-Test-for-func-error-in-logrep-worker.patch) at 2022-11-15 01:39:53 from "Anton A. Melnikov" <aamelnikov at inbox.ru> (Patch: Yes)
    Attachment (v6-0001-Fix-logical-replica-assert-on-func-error.patch) at 2022-11-02 18:02:28 from Tom Lane <tgl at sss.pgh.pa.us> (Patch: Yes)
    Attachment (v5-0001-Fix-logical-replica-assert-on-func-error.patch) at 2022-10-09 09:24:23 from "Anton A. Melnikov" <aamelnikov at inbox.ru> (Patch: Yes)
    Attachment (v4-0001-Fix-logical-replica-assert-on-func-error.patch) at 2022-09-08 08:47:06 from "Anton A. Melnikov" <aamelnikov at inbox.ru> (Patch: Yes)
    Attachment (v3-0001-Fix-logical-replica-assert-on-func-error.patch) at 2022-08-30 07:09:04 from "Anton A. Melnikov" <aamelnikov at inbox.ru> (Patch: Yes)
    Attachment (v2-0001-Fix-logical-replica-assert-on-func-error.patch) at 2022-08-21 15:32:36 from "Anton A. Melnikov" <aamelnikov at inbox.ru> (Patch: Yes)
    Attachment (mascmd.sql) at 2022-08-21 14:33:57 from "Anton A. Melnikov" <aamelnikov at inbox.ru> (Patch: No)
History
When Who What
2022-11-03 16:03:14 Tom Lane (tgl) Closed in commitfest 2022-11 with status: Committed
2022-11-03 16:03:14 Tom Lane (tgl) Changed committer to tgl
2022-11-02 19:29:57 Tom Lane (tgl) Added tgl as reviewer
2022-10-07 08:20:33 Masahiko Sawada (masahikosawada) Attached mail thread b570c367-ba38-95f3-f62d-5f59b9808226@inbox.ru
2022-09-29 06:20:20 Masahiko Sawada (masahikosawada) Closed in commitfest 2022-09 with status: Moved to next CF
2022-09-29 06:03:58 Masahiko Sawada (masahikosawada) Changed authors to Masahiko Sawada (masahikosawada)
2022-09-29 06:03:46 Masahiko Sawada (masahikosawada) Attached mail thread adf0452f-8c6b-7def-d35e-ab516c80088e@inbox.ru
2022-09-29 06:03:46 Masahiko Sawada (masahikosawada) Created patch record
Edit