pg_rewind: Replace the hybrid list+array data structure with simplehash.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 4 Nov 2020 09:21:14 +0000 (11:21 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Wed, 4 Nov 2020 09:21:14 +0000 (11:21 +0200)
commitf81e97d0475cd4bc597adc23b665bd84fbf79a0d
tree1d5c24adced36b141110fa0fd29592f317991773
parenteb00f1d4bf96bdba236bcc089f3ae94db9b7c603
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
src/bin/pg_rewind/copy_fetch.c
src/bin/pg_rewind/fetch.c
src/bin/pg_rewind/fetch.h
src/bin/pg_rewind/filemap.c
src/bin/pg_rewind/filemap.h
src/bin/pg_rewind/libpq_fetch.c
src/bin/pg_rewind/pg_rewind.c