forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8694cc9
committed
Exclude unlogged tables from base backups
Exclude unlogged tables from base backup entirely except init fork which markscreated unlogged table. The next question is do not backup temp table butit's a story for separate patch.Author: David SteeleReview by: Adam Brightwell, Masahiko SawadaDiscussion:https://www.postgresql.org/message-id/flat/04791bab-cb04-ba43-e9c0-664a4c1ffb2c@pgmasters.net1 parent7ba7986 commit8694cc9
File tree
5 files changed
+113
-5
lines changed- doc/src/sgml
- src
- backend
- replication
- storage/file
- bin/pg_basebackup/t
- include/storage
5 files changed
+113
-5
lines changedLines changed: 6 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2568 | 2568 |
| |
2569 | 2569 |
| |
2570 | 2570 |
| |
| 2571 | + | |
| 2572 | + | |
| 2573 | + | |
| 2574 | + | |
| 2575 | + | |
| 2576 | + | |
2571 | 2577 |
| |
2572 | 2578 |
| |
2573 | 2579 |
| |
|
Lines changed: 64 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
| 29 | + | |
29 | 30 |
| |
30 | 31 |
| |
31 | 32 |
| |
32 | 33 |
| |
33 | 34 |
| |
34 | 35 |
| |
35 | 36 |
| |
| 37 | + | |
36 | 38 |
| |
37 | 39 |
| |
38 | 40 |
| |
| |||
958 | 960 |
| |
959 | 961 |
| |
960 | 962 |
| |
| 963 | + | |
| 964 | + | |
| 965 | + | |
| 966 | + | |
| 967 | + | |
| 968 | + | |
| 969 | + | |
| 970 | + | |
| 971 | + | |
| 972 | + | |
| 973 | + | |
| 974 | + | |
| 975 | + | |
| 976 | + | |
| 977 | + | |
| 978 | + | |
| 979 | + | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
| 984 | + | |
| 985 | + | |
| 986 | + | |
| 987 | + | |
| 988 | + | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
961 | 993 |
| |
962 | 994 |
| |
963 | 995 |
| |
964 | 996 |
| |
965 | 997 |
| |
966 | 998 |
| |
| 999 | + | |
| 1000 | + | |
967 | 1001 |
| |
968 | 1002 |
| |
969 | 1003 |
| |
| |||
1007 | 1041 |
| |
1008 | 1042 |
| |
1009 | 1043 |
| |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
| 1047 | + | |
| 1048 | + | |
| 1049 | + | |
| 1050 | + | |
| 1051 | + | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
1010 | 1074 |
| |
1011 | 1075 |
| |
1012 | 1076 |
| |
|
Lines changed: 1 addition & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
28 | 28 |
| |
29 | 29 |
| |
30 | 30 |
| |
31 |
| - | |
32 |
| - | |
33 | 31 |
| |
34 | 32 |
| |
35 | 33 |
| |
| |||
373 | 371 |
| |
374 | 372 |
| |
375 | 373 |
| |
376 |
| - | |
| 374 | + | |
377 | 375 |
| |
378 | 376 |
| |
379 | 377 |
| |
|
Lines changed: 40 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 |
| - | |
| 7 | + | |
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
| |||
66 | 66 |
| |
67 | 67 |
| |
68 | 68 |
| |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
69 | 79 |
| |
70 | 80 |
| |
71 | 81 |
| |
| |||
96 | 106 |
| |
97 | 107 |
| |
98 | 108 |
| |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
99 | 115 |
| |
100 | 116 |
| |
101 | 117 |
| |
| |||
147 | 163 |
| |
148 | 164 |
| |
149 | 165 |
| |
150 |
| - | |
| 166 | + | |
151 | 167 |
| |
152 | 168 |
| |
153 | 169 |
| |
| |||
177 | 193 |
| |
178 | 194 |
| |
179 | 195 |
| |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
180 | 209 |
| |
181 | 210 |
| |
182 | 211 |
| |
| |||
195 | 224 |
| |
196 | 225 |
| |
197 | 226 |
| |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
198 | 235 |
| |
199 | 236 |
| |
200 | 237 |
| |
201 | 238 |
| |
202 | 239 |
| |
| 240 | + | |
203 | 241 |
| |
204 | 242 |
| |
205 | 243 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
| 19 | + | |
| 20 | + | |
19 | 21 |
| |
20 | 22 |
| |
21 | 23 |
| |
|
0 commit comments
Comments
(0)