diff options
author | Masahiko Sawada <msawada@postgresql.org> | 2024-04-11 17:18:05 +0900 |
---|---|---|
committer | Masahiko Sawada <msawada@postgresql.org> | 2024-04-11 17:18:05 +0900 |
commit | 810f64a01567610af7b92b0de930f16f3e20064e (patch) | |
tree | 1e91388aaa2c763a36eca5ebc3684b904b6477dc /src/backend/replication/logical/reorderbuffer.c | |
parent | efb8acc0d05894e0c6c20dfc00513b53098780f0 (diff) | |
download | postgresql-810f64a01567610af7b92b0de930f16f3e20064e.tar.gz postgresql-810f64a01567610af7b92b0de930f16f3e20064e.zip |
Revert indexed and enlargable binary heap implementation.
This reverts commit b840508644 and bcb14f4abc. These commits were made
for commit 5bec1d6bc5 (Improve eviction algorithm in ReorderBuffer
using max-heap for many subtransactions). However, per discussion,
commit efb8acc0d0 replaced binary heap + index with pairing heap, and
made these commits unnecessary.
Reported-by: Jeff Davis
Discussion: https://postgr.es/m/12747c15811d94efcc5cda72d6b35c80d7bf3443.camel%40j-davis.com
Diffstat (limited to 'src/backend/replication/logical/reorderbuffer.c')
-rw-r--r-- | src/backend/replication/logical/reorderbuffer.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/backend/replication/logical/reorderbuffer.c b/src/backend/replication/logical/reorderbuffer.c index 98a827e0b69..00a8327e771 100644 --- a/src/backend/replication/logical/reorderbuffer.c +++ b/src/backend/replication/logical/reorderbuffer.c @@ -1303,7 +1303,6 @@ ReorderBufferIterTXNInit(ReorderBuffer *rb, ReorderBufferTXN *txn, /* allocate heap */ state->heap = binaryheap_allocate(state->nr_txns, ReorderBufferIterCompare, - false, state); /* Now that the state fields are initialized, it is safe to return it. */ |