[pg16]Question about building snapshot in logical decoding

From: cca5507 <cca5507(at)qq(dot)com>
To: pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: [pg16]Question about building snapshot in logical decoding
Date: 2024-01-17 15:57:21
Message-ID: tencent_50D0DAED9438993ABCE803523BB750884207@qq.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

If txn1 begin after SNAPBUILD_BUILDING_SNAPSHOT and commit before
SNAPBUILD_FULL_SNAPSHOT(so txn1 will not be processed by DecodeCommit), and
txn2 begin after SNAPBUILD_FULL_SNAPSHOT and commit after
SNAPBUILD_CONSISTENT(so txn2 will be replayed), how to ensure that txn2
could see the changes made by txn1?

Thanks

Browse pgsql-hackers by date

  From Date Subject
Next Message Tristan Partin 2024-01-17 16:15:38 Re: Add pgindent test to check if codebase is correctly formatted
Previous Message Ranier Vilela 2024-01-17 15:28:28 Re: Fix a possible socket leak at Windows (src/backend/port/win32/socket.c)