pg_combinebackup: Fix incorrect tablespace handling.
Robert Haas <rhaas@postgresql.org>
pg_combinebackup: Fix incorrect tablespace handling. The previous coding mangled the pathname calculation for incremental files located in user-defined tablespaces. Enhance the test cases to cover such cases, as I should have done originally. Thanks to Andres Freund for alerting me to the lack of test coverage. Discussion: http://postgr.es/m/CA+TgmoYdXTjo9iQeoipTccDpWZzvBNS6EndY2uARM+T4yG_yDg@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_combinebackup/pg_combinebackup.c | modified | +1 −1 |
| src/bin/pg_combinebackup/reconstruct.c | modified | +4 −3 |
| src/bin/pg_combinebackup/t/002_compare_backups.pl | modified | +28 −4 |
Discussion
- fix tablespace handling in pg_combinebackup 21 messages · 2024-04-17 → 2024-04-23