forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9e72f6b
committed
Restrict where INCREMENTAL.${NAME} files are recognized.
Previously, they were recognized anywhere in an incremental backupdirectory; now, we restrict this to places where they are expected toappear. That means this code will need updating if we ever doincremental backups of files in other places (e.g. SLRU files), butit lets you create a file called INCREMENTAL.config (or something likethat) at the top level of the data directory and still have thingswork.Patch by me, per request from David Steele, who also reviewed.Discussion:http://postgr.es/m/5a7817da-6349-4653-8056-470300b6e512@pgmasters.net1 parentd72d32f commit9e72f6b
File tree
2 files changed
+43
-13
lines changed- src/bin/pg_combinebackup
- t
2 files changed
+43
-13
lines changedLines changed: 34 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
799 | 799 |
| |
800 | 800 |
| |
801 | 801 |
| |
802 |
| - | |
803 |
| - | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
804 | 805 |
| |
805 | 806 |
| |
806 | 807 |
| |
807 | 808 |
| |
808 |
| - | |
| 809 | + | |
809 | 810 |
| |
810 |
| - | |
811 |
| - | |
| 811 | + | |
| 812 | + | |
812 | 813 |
| |
813 |
| - | |
814 |
| - | |
| 814 | + | |
| 815 | + | |
| 816 | + | |
| 817 | + | |
| 818 | + | |
| 819 | + | |
| 820 | + | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
| 828 | + | |
815 | 829 |
| |
816 |
| - | |
817 |
| - | |
818 |
| - | |
819 |
| - | |
820 |
| - | |
| 830 | + | |
| 831 | + | |
| 832 | + | |
| 833 | + | |
| 834 | + | |
| 835 | + | |
| 836 | + | |
| 837 | + | |
| 838 | + | |
| 839 | + | |
| 840 | + | |
821 | 841 |
| |
822 | 842 |
| |
823 | 843 |
| |
| |||
955 | 975 |
| |
956 | 976 |
| |
957 | 977 |
| |
958 |
| - | |
| 978 | + | |
| 979 | + | |
959 | 980 |
| |
960 | 981 |
| |
961 | 982 |
| |
|
Lines changed: 9 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
19 | 19 |
| |
20 | 20 |
| |
21 | 21 |
| |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
22 | 31 |
| |
23 | 32 |
| |
24 | 33 |
| |
|
0 commit comments
Comments
(0)