forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit202b56b
committed
Remove unnecessary Windows-specific basebackup code.
Commitc6f2f01 added an explicit check for a Windows "junction point".That turned out to be needed only because get_dirent_type() was bustedon Windows. It's been fixed by commit9d3444d, so remove it.Add a TAP-test to demonstrate that in-place tablespaces are copied bypg_basebackup. This exercises the codepath that would fail beforec6f2f01 on Windows, and shows that it still doesn't fail now that we'reusing get_dirent_type() on both Windows and Unix.Back-patch to 15, where in-place tablespaces arrived and caused thisproblem (ie directories where previously only symlinks were expected).Reviewed-by: Michael Paquier <michael@paquier.xyz>Discussion:https://postgr.es/m/CA%2BhUKGLzLK4PUPx0_AwXEWXOYAejU%3D7XpxnYE55Y%2Be7hB2N3FA%40mail.gmail.com1 parent6d306ab commit202b56b
File tree
2 files changed
+17
-5
lines changed- src
- backend/access/transam
- bin/pg_basebackup/t
2 files changed
+17
-5
lines changedLines changed: 0 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8294 | 8294 |
| |
8295 | 8295 |
| |
8296 | 8296 |
| |
8297 |
| - | |
8298 |
| - | |
8299 |
| - | |
8300 |
| - | |
8301 | 8297 |
| |
8302 | 8298 |
| |
8303 |
| - | |
8304 | 8299 |
| |
8305 | 8300 |
| |
8306 | 8301 |
| |
|
Lines changed: 17 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
904 | 904 |
| |
905 | 905 |
| |
906 | 906 |
| |
| 907 | + | |
| 908 | + | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
907 | 924 |
|
0 commit comments
Comments
(0)