pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pg_rewind: Replace the hybrid list+array data structure with sim
Date: Wed, 04 Nov 2020 09:22:56 +0000
Message-ID: <E1kaF0K-0001nH-Ke@gemulon.postgresql.org> (raw)

pg_rewind: Replace the hybrid list+array data structure with simplehash.

Now that simplehash can be used in frontend code, let's make use of it.

Reviewed-by: Kyotaro Horiguchi, Soumyadeep Chakraborty
Discussion: https://www.postgresql.org/message-id/0c5b3783-af52-3ee5-f8fa-6e794061f70d%40iki.fi

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f81e97d0475cd4bc597adc23b665bd84fbf79a0d

Modified Files
--------------
src/bin/pg_rewind/copy_fetch.c  |   4 +-
src/bin/pg_rewind/fetch.c       |   2 +-
src/bin/pg_rewind/fetch.h       |   2 +-
src/bin/pg_rewind/filemap.c     | 294 ++++++++++++++++++----------------------
src/bin/pg_rewind/filemap.h     |  67 ++++-----
src/bin/pg_rewind/libpq_fetch.c |   4 +-
src/bin/pg_rewind/pg_rewind.c   |  14 +-
7 files changed, 176 insertions(+), 211 deletions(-)



Message-ID: <E1kaF0K-0001nH-Ke@gemulon.postgresql.org>
Permalink:  ../E1kaF0K-0001nH-Ke@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1kaF0K-0001nH-Ke@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: heikki.linnakangas@iki.fi
  Subject: Re: pgsql: pg_rewind: Replace the hybrid list+array data structure with sim
  In-Reply-To: <E1kaF0K-0001nH-Ke@gemulon.postgresql.org>
  References: <E1kaF0K-0001nH-Ke@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox