Remove obsolete comment in reorderbuffer.h.
authorMasahiko Sawada <[email protected]>
Mon, 14 Oct 2024 16:53:05 +0000 (09:53 -0700)
committerMasahiko Sawada <[email protected]>
Mon, 14 Oct 2024 16:53:05 +0000 (09:53 -0700)
Commit 9fab40ad32e changed ReorderBuffer to use Slab Context for
allocating ReorderBufferTXN entries instead of using a caching
mechanism. The txn->node is no longer used as an element of the list
of preallocated ReorderBufferTXNs.

Reviewed-by: Amit Kapila
Discussion: https://postgr.es/m/CAD21AoB1CTnX66Ji3zTCnjoPVC9OzYe0B6LygUHcxEB2RV-hFw%40mail.gmail.com

src/include/replication/reorderbuffer.h

index e332635f70b5a83174558353b225f0926cb81299..6ad5a8cb9c547597288a3ab7c71ea13bb8bfa59d 100644 (file)
@@ -394,10 +394,9 @@ typedef struct ReorderBufferTXN
        SharedInvalidationMessage *invalidations;
 
        /* ---
-        * Position in one of three lists:
+        * Position in one of two lists:
         * * list of subtransactions if we are *known* to be subxact
         * * list of toplevel xacts (can be an as-yet unknown subxact)
-        * * list of preallocated ReorderBufferTXNs (if unused)
         * ---
         */
        dlist_node      node;