pgsql: pg_combinebackup: When reconstructing, avoid double slash in fil

2024-11-04 Thread Robert Haas
pg_combinebackup: When reconstructing, avoid double slash in filename. This function is always called with a relative_path that ends in a slash, so there's no need to insert a second one. So, don't. Instead, add an assertion to verify that nothing gets broken in the future, and adjust the comments

pgsql: pg_combinebackup: When reconstructing, avoid double slash in fil

2024-11-04 Thread Robert Haas
pg_combinebackup: When reconstructing, avoid double slash in filename. This function is always called with a relative_path that ends in a slash, so there's no need to insert a second one. So, don't. Instead, add an assertion to verify that nothing gets broken in the future, and adjust the comments