pg_rewind: Move syncTargetDirectory() to file_ops.c
Heikki Linnakangas <heikki.linnakangas@iki.fi>
pg_rewind: Move syncTargetDirectory() to file_ops.c For consistency. All the other low-level functions that operate on the target directory are in file_ops.c. Reviewed-by: Michael Paquier Discussion: https://www.postgresql.org/message-id/0c5b3783-af52-3ee5-f8fa-6e794061f70d%40iki.fi
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_rewind/file_ops.c | modified | +19 −0 |
| src/bin/pg_rewind/file_ops.h | modified | +1 −0 |
| src/bin/pg_rewind/pg_rewind.c | modified | +1 −21 |
| src/bin/pg_rewind/pg_rewind.h | modified | +1 −0 |
Discussion
- Refactor pg_rewind code and make it work against a standby 18 messages · 2020-08-19 → 2020-11-20