Re: [BUG] Logical replication failure "ERROR: could not map filenode "base/13237/442428" to relation OID" with catalog modifying txns

Drouvot, Bertrand <bdrouvot@amazon.com>

From: "Drouvot, Bertrand" <bdrouvot@amazon.com>
To: Amit Kapila <amit.kapila16@gmail.com>, Masahiko Sawada <sawada.mshk@gmail.com>
Cc: "shiy.fnst@fujitsu.com" <shiy.fnst@fujitsu.com>, Kyotaro Horiguchi <horikyota.ntt@gmail.com>, "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>, "minsoo@amazon.com" <minsoo@amazon.com>
Date: 2022-08-12T13:38:00Z
Lists: pgsql-hackers
Hi,

On 8/11/22 8:10 AM, Amit Kapila wrote:
> On Mon, Aug 8, 2022 at 9:34 AM Amit Kapila <amit.kapila16@gmail.com> wrote:
>> On Wed, Aug 3, 2022 at 1:20 PM Masahiko Sawada <sawada.mshk@gmail.com> wrote:
>>>
>>> Oops, thanks for pointing it out. I've fixed it and attached updated
>>> patches for all branches so as not to confuse the patch version. There
>>> is no update from v12 patch on REL12 - master patches.
>>>
>> Thanks for the updated patches, the changes look good to me.
>> Horiguchi-San, and others, do you have any further comments on this or
>> do you want to spend time in review of it? If not, I would like to
>> push this after the current minor version release.
>>
> Pushed.

Thank you!

I just marked the corresponding CF entry [1] as committed.

[1]: https://commitfest.postgresql.org/39/3041/

Regards,

-- 

Bertrand Drouvot
Amazon Web Services: https://aws.amazon.com




Commits

  1. Fix the incorrect assertion introduced in commit 7f13ac8123.

  2. Fix catalog lookup with the wrong snapshot during logical decoding.

  3. Clean up assorted failures under clang's -fsanitize=undefined checks.