- Notifications
You must be signed in to change notification settings - Fork5
Commit721e537
committed
Solve the problem of OID collisions by probing for duplicate OIDs
whenever we generate a new OID. This prevents occasional duplicate-OIDerrors that can otherwise occur once the OID counter has wrapped around.Duplicate relfilenode values are also checked for when creating newphysical files. Per my recent proposal.1 parent9e4a2de commit721e537
File tree
20 files changed
+411
-263
lines changed- doc/src/sgml
- src
- backend
- access
- heap
- transam
- catalog
- commands
- storage/large_object
- utils/cache
- bin/pg_dump
- include
- access
- catalog
- utils
20 files changed
+411
-263
lines changedLines changed: 11 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
| 1 | + | |
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
| |||
871 | 871 |
| |
872 | 872 |
| |
873 | 873 |
| |
874 |
| - | |
| 874 | + | |
875 | 875 |
| |
876 | 876 |
| |
877 | 877 |
| |
| |||
992 | 992 |
| |
993 | 993 |
| |
994 | 994 |
| |
995 |
| - | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
| 998 | + | |
| 999 | + | |
| 1000 | + | |
| 1001 | + | |
996 | 1002 |
| |
997 | 1003 |
| |
998 | 1004 |
| |
| |||
1005 | 1011 |
| |
1006 | 1012 |
| |
1007 | 1013 |
| |
1008 |
| - | |
1009 |
| - | |
1010 |
| - | |
| 1014 | + | |
| 1015 | + | |
1011 | 1016 |
| |
1012 | 1017 |
| |
1013 | 1018 |
| |
|
Lines changed: 2 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
1069 | 1069 |
| |
1070 | 1070 |
| |
1071 | 1071 |
| |
1072 |
| - | |
1073 |
| - | |
1074 |
| - | |
| 1072 | + | |
1075 | 1073 |
| |
1076 | 1074 |
| |
1077 | 1075 |
| |
|
Lines changed: 14 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
1006 | 1006 |
| |
1007 | 1007 |
| |
1008 | 1008 |
| |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
| 1012 | + | |
| 1013 | + | |
| 1014 | + | |
| 1015 | + | |
| 1016 | + | |
| 1017 | + | |
1009 | 1018 |
| |
1010 | 1019 |
| |
1011 | 1020 |
| |
| |||
1023 | 1032 |
| |
1024 | 1033 |
| |
1025 | 1034 |
| |
1026 |
| - | |
| 1035 | + | |
| 1036 | + | |
1027 | 1037 |
| |
1028 | 1038 |
| |
1029 | 1039 |
| |
| |||
1043 | 1053 |
| |
1044 | 1054 |
| |
1045 | 1055 |
| |
1046 |
| - | |
1047 |
| - | |
| 1056 | + | |
| 1057 | + | |
1048 | 1058 |
| |
1049 |
| - | |
1050 |
| - | |
1051 |
| - | |
1052 | 1059 |
| |
1053 | 1060 |
| |
1054 | 1061 |
| |
|
Lines changed: 13 additions & 50 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
9 |
| - | |
| 9 | + | |
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
| |||
247 | 247 |
| |
248 | 248 |
| |
249 | 249 |
| |
250 |
| - | |
251 |
| - | |
252 |
| - | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
253 | 259 |
| |
254 |
| - | |
255 |
| - | |
256 |
| - | |
257 | 260 |
| |
258 | 261 |
| |
259 | 262 |
| |
| |||
265 | 268 |
| |
266 | 269 |
| |
267 | 270 |
| |
268 |
| - | |
269 |
| - | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
270 | 274 |
| |
271 | 275 |
| |
272 | 276 |
| |
| |||
310 | 314 |
| |
311 | 315 |
| |
312 | 316 |
| |
313 |
| - | |
314 |
| - | |
315 | 317 |
| |
316 | 318 |
| |
317 |
| - | |
318 |
| - | |
319 |
| - | |
320 |
| - | |
321 |
| - | |
322 |
| - | |
323 |
| - | |
324 |
| - | |
325 |
| - | |
326 |
| - | |
327 |
| - | |
328 |
| - | |
329 |
| - | |
330 |
| - | |
331 |
| - | |
332 |
| - | |
333 |
| - | |
334 |
| - | |
335 |
| - | |
336 |
| - | |
337 |
| - | |
338 |
| - | |
339 |
| - | |
340 |
| - | |
341 |
| - | |
342 |
| - | |
343 |
| - | |
344 |
| - | |
345 |
| - | |
346 |
| - | |
347 |
| - | |
348 |
| - | |
349 |
| - | |
350 |
| - | |
351 |
| - | |
352 |
| - | |
353 |
| - | |
354 |
| - | |
355 |
| - |
0 commit comments
Comments
(0)