forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb0f5086
committed
oid is needed, it is added at the end of the struct (after the null
bitmap, if present).Per Tom Lane's suggestion the information whether a tuple has an oidor not is carried in the tuple descriptor. For debugging reasonstdhasoid is of type char, not bool. There are predefined values forWITHOID, WITHOUTOID and UNDEFOID.This patch has been generated against a cvs snapshot from last weekand I don't expect it to apply cleanly to current sources. While Ipost it here for public review, I'm working on a new version against acurrent snapshot. (There's been heavy activity recently; hope tocatch up some day ...)This is a long patch; if it is too hard to swallow, I can provide itin smaller pieces:Part 1: Accessor macrosPart 2: tdhasoid in TupDescPart 3: Regression testPart 4: Parameter withoid to heap_addheaderPart 5: Eliminate t_oid from HeapTupleHeaderPart 2 is the most hairy part because of changes in the executor andeven in the parser; the other parts are straightforward.Up to part 4 the patched postmaster stays binary compatible todatabases created with an unpatched version. Part 5 is small (100lines) and finally breaks compatibility.Manfred Koizar1 parent38dd3ae commitb0f5086
File tree
57 files changed
+414
-198
lines changed- contrib
- dbsize
- fulltextindex
- rserv
- src
- backend
- access
- common
- heap
- bootstrap
- catalog
- commands
- executor
- optimizer/util
- parser
- postmaster
- rewrite
- utils
- adt
- cache
- init
- misc
- include
- access
- executor
- pl
- plpython
- tcl
- test/regress
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
57 files changed
+414
-198
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
65 | 65 |
| |
66 | 66 |
| |
67 | 67 |
| |
68 |
| - | |
| 68 | + | |
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
190 | 190 |
| |
191 | 191 |
| |
192 | 192 |
| |
193 |
| - | |
| 193 | + | |
194 | 194 |
| |
195 | 195 |
| |
196 | 196 |
| |
|
Lines changed: 3 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
102 | 102 |
| |
103 | 103 |
| |
104 | 104 |
| |
105 |
| - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
106 | 108 |
| |
107 | 109 |
| |
108 | 110 |
| |
|
Lines changed: 20 additions & 7 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9 | 9 |
| |
10 | 10 |
| |
11 | 11 |
| |
12 |
| - | |
| 12 | + | |
13 | 13 |
| |
14 | 14 |
| |
15 | 15 |
| |
| |||
436 | 436 |
| |
437 | 437 |
| |
438 | 438 |
| |
439 |
| - | |
| 439 | + | |
440 | 440 |
| |
441 | 441 |
| |
442 | 442 |
| |
| |||
581 | 581 |
| |
582 | 582 |
| |
583 | 583 |
| |
| 584 | + | |
| 585 | + | |
584 | 586 |
| |
585 | 587 |
| |
586 | 588 |
| |
| |||
595 | 597 |
| |
596 | 598 |
| |
597 | 599 |
| |
| 600 | + | |
| 601 | + | |
| 602 | + | |
598 | 603 |
| |
599 | 604 |
| |
600 | 605 |
| |
| |||
698 | 703 |
| |
699 | 704 |
| |
700 | 705 |
| |
701 |
| - | |
702 |
| - | |
703 |
| - | |
704 |
| - | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
705 | 712 |
| |
706 | 713 |
| |
707 | 714 |
| |
708 | 715 |
| |
| 716 | + | |
| 717 | + | |
709 | 718 |
| |
710 | 719 |
| |
711 | 720 |
| |
| |||
738 | 747 |
| |
739 | 748 |
| |
740 | 749 |
| |
| 750 | + | |
741 | 751 |
| |
742 | 752 |
| |
743 | 753 |
| |
| |||
749 | 759 |
| |
750 | 760 |
| |
751 | 761 |
| |
752 |
| - | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
753 | 766 |
| |
754 | 767 |
| |
755 | 768 |
| |
|
Lines changed: 11 additions & 5 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 |
| |
| |||
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
39 |
| - | |
| 39 | + | |
40 | 40 |
| |
41 | 41 |
| |
42 | 42 |
| |
| |||
58 | 58 |
| |
59 | 59 |
| |
60 | 60 |
| |
| 61 | + | |
61 | 62 |
| |
62 | 63 |
| |
63 | 64 |
| |
| |||
82 | 83 |
| |
83 | 84 |
| |
84 | 85 |
| |
| 86 | + | |
85 | 87 |
| |
86 | 88 |
| |
87 | 89 |
| |
| |||
116 | 118 |
| |
117 | 119 |
| |
118 | 120 |
| |
| 121 | + | |
119 | 122 |
| |
120 | 123 |
| |
121 | 124 |
| |
| |||
182 | 185 |
| |
183 | 186 |
| |
184 | 187 |
| |
| 188 | + | |
185 | 189 |
| |
186 | 190 |
| |
187 | 191 |
| |
| |||
235 | 239 |
| |
236 | 240 |
| |
237 | 241 |
| |
| 242 | + | |
| 243 | + | |
238 | 244 |
| |
239 | 245 |
| |
240 | 246 |
| |
| |||
392 | 398 |
| |
393 | 399 |
| |
394 | 400 |
| |
395 |
| - | |
| 401 | + | |
396 | 402 |
| |
397 | 403 |
| |
398 | 404 |
| |
| |||
479 | 485 |
| |
480 | 486 |
| |
481 | 487 |
| |
482 |
| - | |
| 488 | + | |
483 | 489 |
| |
484 | 490 |
| |
485 | 491 |
| |
| |||
646 | 652 |
| |
647 | 653 |
| |
648 | 654 |
| |
649 |
| - | |
| 655 | + | |
650 | 656 |
| |
651 | 657 |
| |
652 | 658 |
| |
|
Lines changed: 60 additions & 28 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 |
| |
| |||
1116 | 1116 |
| |
1117 | 1117 |
| |
1118 | 1118 |
| |
1119 |
| - | |
1120 |
| - | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
1121 | 1122 |
| |
1122 |
| - | |
| 1123 | + | |
1123 | 1124 |
| |
1124 | 1125 |
| |
1125 | 1126 |
| |
| |||
1166 | 1167 |
| |
1167 | 1168 |
| |
1168 | 1169 |
| |
1169 |
| - | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
1170 | 1177 |
| |
1171 | 1178 |
| |
1172 | 1179 |
| |
| |||
1176 | 1183 |
| |
1177 | 1184 |
| |
1178 | 1185 |
| |
| 1186 | + | |
1179 | 1187 |
| |
1180 | 1188 |
| |
1181 | 1189 |
| |
| |||
1206 | 1214 |
| |
1207 | 1215 |
| |
1208 | 1216 |
| |
1209 |
| - | |
| 1217 | + | |
| 1218 | + | |
| 1219 | + | |
| 1220 | + | |
| 1221 | + | |
1210 | 1222 |
| |
1211 | 1223 |
| |
1212 | 1224 |
| |
| |||
1499 | 1511 |
| |
1500 | 1512 |
| |
1501 | 1513 |
| |
1502 |
| - | |
| 1514 | + | |
| 1515 | + | |
| 1516 | + | |
| 1517 | + | |
| 1518 | + | |
1503 | 1519 |
| |
1504 | 1520 |
| |
1505 | 1521 |
| |
| |||
1972 | 1988 |
| |
1973 | 1989 |
| |
1974 | 1990 |
| |
1975 |
| - | |
| 1991 | + | |
| 1992 | + | |
| 1993 | + | |
| 1994 | + | |
| 1995 | + | |
| 1996 | + | |
| 1997 | + | |
1976 | 1998 |
| |
1977 | 1999 |
| |
1978 | 2000 |
| |
1979 | 2001 |
| |
1980 | 2002 |
| |
1981 |
| - | |
1982 |
| - | |
| 2003 | + | |
1983 | 2004 |
| |
1984 |
| - | |
1985 |
| - | |
1986 |
| - | |
| 2005 | + | |
| 2006 | + | |
| 2007 | + | |
1987 | 2008 |
| |
1988 |
| - | |
1989 |
| - | |
1990 |
| - | |
1991 |
| - | |
1992 |
| - | |
| 2009 | + | |
| 2010 | + | |
| 2011 | + | |
| 2012 | + | |
1993 | 2013 |
| |
1994 | 2014 |
| |
1995 | 2015 |
| |
| |||
1998 | 2018 |
| |
1999 | 2019 |
| |
2000 | 2020 |
| |
| 2021 | + | |
2001 | 2022 |
| |
2002 | 2023 |
| |
2003 | 2024 |
| |
| |||
2193 | 2214 |
| |
2194 | 2215 |
| |
2195 | 2216 |
| |
| 2217 | + | |
| 2218 | + | |
| 2219 | + | |
2196 | 2220 |
| |
2197 | 2221 |
| |
2198 | 2222 |
| |
2199 | 2223 |
| |
2200 |
| - | |
2201 |
| - | |
2202 | 2224 |
| |
2203 | 2225 |
| |
2204 | 2226 |
| |
2205 | 2227 |
| |
2206 | 2228 |
| |
2207 | 2229 |
| |
2208 | 2230 |
| |
| 2231 | + | |
| 2232 | + | |
| 2233 | + | |
| 2234 | + | |
| 2235 | + | |
2209 | 2236 |
| |
2210 | 2237 |
| |
2211 | 2238 |
| |
| |||
2362 | 2389 |
| |
2363 | 2390 |
| |
2364 | 2391 |
| |
| 2392 | + | |
| 2393 | + | |
| 2394 | + | |
2365 | 2395 |
| |
2366 | 2396 |
| |
2367 | 2397 |
| |
2368 | 2398 |
| |
2369 |
| - | |
2370 |
| - | |
2371 | 2399 |
| |
2372 | 2400 |
| |
| 2401 | + | |
| 2402 | + | |
| 2403 | + | |
| 2404 | + | |
| 2405 | + | |
2373 | 2406 |
| |
2374 | 2407 |
| |
2375 |
| - | |
2376 |
| - | |
| 2408 | + | |
2377 | 2409 |
| |
2378 | 2410 |
| |
2379 |
| - | |
2380 |
| - | |
| 2411 | + | |
| 2412 | + | |
2381 | 2413 |
| |
2382 | 2414 |
| |
2383 | 2415 |
| |
2384 | 2416 |
| |
2385 |
| - | |
2386 |
| - | |
| 2417 | + | |
| 2418 | + | |
2387 | 2419 |
| |
2388 | 2420 |
| |
2389 | 2421 |
| |
|
0 commit comments
Comments
(0)