diff options
author | Masahiko Sawada <msawada@postgresql.org> | 2024-10-14 09:53:05 -0700 |
---|---|---|
committer | Masahiko Sawada <msawada@postgresql.org> | 2024-10-14 09:53:05 -0700 |
commit | 7be4ba4a9d560bc6dfb19749ad58cfc1a04d3a7c (patch) | |
tree | 98de16f2293e20a970bea89bccb2442471c25165 | |
parent | 4681ad4b2fb06e3aca9e300358e62d9b066e9dce (diff) | |
download | postgresql-7be4ba4a9d560bc6dfb19749ad58cfc1a04d3a7c.tar.gz postgresql-7be4ba4a9d560bc6dfb19749ad58cfc1a04d3a7c.zip |
Remove obsolete comment in reorderbuffer.h.
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
-rw-r--r-- | src/include/replication/reorderbuffer.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/include/replication/reorderbuffer.h b/src/include/replication/reorderbuffer.h index e332635f70b..6ad5a8cb9c5 100644 --- a/src/include/replication/reorderbuffer.h +++ b/src/include/replication/reorderbuffer.h @@ -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; |