pgsql: Fix comments atop ReorderBufferAddInvalidations.

From: Amit Kapila <akapila(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix comments atop ReorderBufferAddInvalidations.
Date: 2022-11-10 12:01:49
Message-ID: E1ot6Fg-000SdI-Dh@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix comments atop ReorderBufferAddInvalidations.

The comments atop seem to indicate that we always accumulate invalidation
messages in a top-level transaction which is neither required nor matches
with the code.

Author: Amit Kapila
Reviewd by: Masahiko Sawada
Backpatch-through: 14, where it was introduced in commit c55040ccd0
Discussion: https://postgr.es/m/CAA4eK1LxGgnUroPz8STb6OfjVU1yaHoSA+T63URwmGCLdMJ0LA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/36e545cd051ffe58064c1f38faeb64f4feef4aec

Modified Files
--------------
src/backend/replication/logical/reorderbuffer.c | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2022-11-10 15:24:00 pgsql: Re-allow building on Microsoft Visual Studio 2013.
Previous Message Michael Paquier 2022-11-10 07:34:16 pgsql: Fix comment of SimpleLruInit() in slru.c