pg_rewind: Replace the hybrid list+array data structure with simplehash.
Heikki Linnakangas <heikki.linnakangas@iki.fi>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_rewind/copy_fetch.c | modified | +2 −2 |
| src/bin/pg_rewind/fetch.c | modified | +1 −1 |
| src/bin/pg_rewind/fetch.h | modified | +1 −1 |
| src/bin/pg_rewind/filemap.c | modified | +134 −160 |
| src/bin/pg_rewind/filemap.h | modified | +27 −40 |
| src/bin/pg_rewind/libpq_fetch.c | modified | +2 −2 |
| src/bin/pg_rewind/pg_rewind.c | modified | +9 −5 |
Discussion
- Refactor pg_rewind code and make it work against a standby 18 messages · 2020-08-19 → 2020-11-20