forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2e8b6bf
committed
Rename some toasting functions based on whether they are heap-specific.
The old names for the attribute-detoasting functions names includedthe word "heap," which seems outdated now that the heap is only one ofpotentially many table access methods.On the other hand, toast_insert_or_update and toast_delete areheap-specific, so rename them by adding "heap_" as a prefix.Not all of the work of making the TOAST system fully accessible to AMsother than the heap is done yet, but there seems to be little harm ingetting this renaming out of the way now. Commit8b94dab already divided up thefunctions among various files partially according to whether it wasintended that they should be heap-specific or AM-agnostic, so this isjust clarifying the division contemplated by that commit.Patch by me, reviewed and tested by Prabhat Sabu, Thomas Munro,Andres Freund, and Álvaro Herrera.Discussion:http://postgr.es/m/CA+TgmoZv-=2iWM4jcw5ZhJeL18HF96+W1yJeYrnGMYdkFFnEpQ@mail.gmail.com1 parent61aa9f5 commit2e8b6bf
File tree
14 files changed
+58
-57
lines changed- src
- backend
- access
- common
- heap
- table
- executor
- storage/large_object
- utils
- adt
- fmgr
- include/access
- pl/plpgsql/src
- test/regress
14 files changed
+58
-57
lines changedLines changed: 13 additions & 13 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
30 | 30 |
| |
31 | 31 |
| |
32 | 32 |
| |
33 |
| - | |
| 33 | + | |
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
| |||
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
45 |
| - | |
| 45 | + | |
46 | 46 |
| |
47 | 47 |
| |
48 | 48 |
| |
| |||
68 | 68 |
| |
69 | 69 |
| |
70 | 70 |
| |
71 |
| - | |
| 71 | + | |
72 | 72 |
| |
73 | 73 |
| |
74 | 74 |
| |
| |||
103 | 103 |
| |
104 | 104 |
| |
105 | 105 |
| |
106 |
| - | |
| 106 | + | |
107 | 107 |
| |
108 | 108 |
| |
109 | 109 |
| |
| |||
113 | 113 |
| |
114 | 114 |
| |
115 | 115 |
| |
116 |
| - | |
| 116 | + | |
117 | 117 |
| |
118 | 118 |
| |
119 | 119 |
| |
| |||
144 | 144 |
| |
145 | 145 |
| |
146 | 146 |
| |
147 |
| - | |
| 147 | + | |
148 | 148 |
| |
149 | 149 |
| |
150 | 150 |
| |
| |||
161 | 161 |
| |
162 | 162 |
| |
163 | 163 |
| |
164 |
| - | |
| 164 | + | |
165 | 165 |
| |
166 | 166 |
| |
167 | 167 |
| |
| |||
192 | 192 |
| |
193 | 193 |
| |
194 | 194 |
| |
195 |
| - | |
| 195 | + | |
196 | 196 |
| |
197 | 197 |
| |
198 | 198 |
| |
| |||
201 | 201 |
| |
202 | 202 |
| |
203 | 203 |
| |
204 |
| - | |
| 204 | + | |
205 | 205 |
| |
206 | 206 |
| |
207 | 207 |
| |
| |||
253 | 253 |
| |
254 | 254 |
| |
255 | 255 |
| |
256 |
| - | |
| 256 | + | |
257 | 257 |
| |
258 | 258 |
| |
259 | 259 |
| |
260 | 260 |
| |
261 |
| - | |
262 |
| - | |
| 261 | + | |
| 262 | + | |
263 | 263 |
| |
264 | 264 |
| |
265 | 265 |
| |
| |||
771 | 771 |
| |
772 | 772 |
| |
773 | 773 |
| |
774 |
| - | |
| 774 | + | |
775 | 775 |
| |
776 | 776 |
| |
777 | 777 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
89 | 89 |
| |
90 | 90 |
| |
91 | 91 |
| |
92 |
| - | |
| 92 | + | |
93 | 93 |
| |
94 | 94 |
| |
95 | 95 |
| |
|
Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2085 | 2085 |
| |
2086 | 2086 |
| |
2087 | 2087 |
| |
2088 |
| - | |
| 2088 | + | |
2089 | 2089 |
| |
2090 | 2090 |
| |
2091 | 2091 |
| |
| |||
2809 | 2809 |
| |
2810 | 2810 |
| |
2811 | 2811 |
| |
2812 |
| - | |
| 2812 | + | |
2813 | 2813 |
| |
2814 | 2814 |
| |
2815 | 2815 |
| |
| |||
3504 | 3504 |
| |
3505 | 3505 |
| |
3506 | 3506 |
| |
3507 |
| - | |
| 3507 | + | |
3508 | 3508 |
| |
3509 | 3509 |
| |
3510 | 3510 |
| |
| |||
5673 | 5673 |
| |
5674 | 5674 |
| |
5675 | 5675 |
| |
5676 |
| - | |
| 5676 | + | |
5677 | 5677 |
| |
5678 | 5678 |
| |
5679 | 5679 |
| |
|
Lines changed: 12 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
15 |
| - | |
| 15 | + | |
16 | 16 |
| |
17 | 17 |
| |
18 | 18 |
| |
19 |
| - | |
| 19 | + | |
20 | 20 |
| |
21 | 21 |
| |
22 | 22 |
| |
| |||
32 | 32 |
| |
33 | 33 |
| |
34 | 34 |
| |
35 |
| - | |
| 35 | + | |
36 | 36 |
| |
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
41 |
| - | |
| 41 | + | |
42 | 42 |
| |
43 | 43 |
| |
44 | 44 |
| |
| |||
73 | 73 |
| |
74 | 74 |
| |
75 | 75 |
| |
76 |
| - | |
| 76 | + | |
77 | 77 |
| |
78 | 78 |
| |
79 | 79 |
| |
| |||
91 | 91 |
| |
92 | 92 |
| |
93 | 93 |
| |
94 |
| - | |
95 |
| - | |
| 94 | + | |
| 95 | + | |
96 | 96 |
| |
97 | 97 |
| |
98 | 98 |
| |
| |||
369 | 369 |
| |
370 | 370 |
| |
371 | 371 |
| |
372 |
| - | |
| 372 | + | |
373 | 373 |
| |
374 | 374 |
| |
375 | 375 |
| |
| |||
484 | 484 |
| |
485 | 485 |
| |
486 | 486 |
| |
487 |
| - | |
| 487 | + | |
488 | 488 |
| |
489 | 489 |
| |
490 | 490 |
| |
| |||
494 | 494 |
| |
495 | 495 |
| |
496 | 496 |
| |
497 |
| - | |
| 497 | + | |
| 498 | + | |
498 | 499 |
| |
499 | 500 |
| |
500 | 501 |
| |
| |||
583 | 584 |
| |
584 | 585 |
| |
585 | 586 |
| |
586 |
| - | |
| 587 | + | |
587 | 588 |
| |
588 | 589 |
| |
589 | 590 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
664 | 664 |
| |
665 | 665 |
| |
666 | 666 |
| |
667 |
| - | |
668 |
| - | |
| 667 | + | |
| 668 | + | |
669 | 669 |
| |
670 | 670 |
| |
671 | 671 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
135 | 135 |
| |
136 | 136 |
| |
137 | 137 |
| |
138 |
| - | |
| 138 | + | |
139 | 139 |
| |
140 |
| - | |
| 140 | + | |
141 | 141 |
| |
142 | 142 |
| |
143 | 143 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
133 | 133 |
| |
134 | 134 |
| |
135 | 135 |
| |
136 |
| - | |
| 136 | + | |
137 | 137 |
| |
138 | 138 |
| |
139 | 139 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
180 | 180 |
| |
181 | 181 |
| |
182 | 182 |
| |
183 |
| - | |
| 183 | + | |
184 | 184 |
| |
185 | 185 |
| |
186 | 186 |
| |
|
Lines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1159 | 1159 |
| |
1160 | 1160 |
| |
1161 | 1161 |
| |
1162 |
| - | |
| 1162 | + | |
1163 | 1163 |
| |
1164 | 1164 |
| |
1165 | 1165 |
| |
| |||
1305 | 1305 |
| |
1306 | 1306 |
| |
1307 | 1307 |
| |
1308 |
| - | |
| 1308 | + | |
1309 | 1309 |
| |
1310 | 1310 |
| |
1311 | 1311 |
| |
|
Lines changed: 4 additions & 4 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1739 | 1739 |
| |
1740 | 1740 |
| |
1741 | 1741 |
| |
1742 |
| - | |
| 1742 | + | |
1743 | 1743 |
| |
1744 | 1744 |
| |
1745 | 1745 |
| |
| |||
1748 | 1748 |
| |
1749 | 1749 |
| |
1750 | 1750 |
| |
1751 |
| - | |
| 1751 | + | |
1752 | 1752 |
| |
1753 | 1753 |
| |
1754 | 1754 |
| |
| |||
1764 | 1764 |
| |
1765 | 1765 |
| |
1766 | 1766 |
| |
1767 |
| - | |
| 1767 | + | |
1768 | 1768 |
| |
1769 | 1769 |
| |
1770 | 1770 |
| |
1771 | 1771 |
| |
1772 | 1772 |
| |
1773 | 1773 |
| |
1774 |
| - | |
| 1774 | + | |
1775 | 1775 |
| |
1776 | 1776 |
| |
1777 | 1777 |
| |
|
Lines changed: 8 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
47 |
| - | |
| 47 | + | |
48 | 48 |
| |
49 | 49 |
| |
50 | 50 |
| |
51 | 51 |
| |
52 | 52 |
| |
53 | 53 |
| |
54 |
| - | |
| 54 | + | |
55 | 55 |
| |
56 | 56 |
| |
57 |
| - | |
| 57 | + | |
58 | 58 |
| |
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
62 | 62 |
| |
63 |
| - | |
| 63 | + | |
64 | 64 |
| |
65 | 65 |
| |
66 |
| - | |
| 66 | + | |
67 | 67 |
| |
68 | 68 |
| |
69 | 69 |
| |
70 | 70 |
| |
71 | 71 |
| |
72 |
| - | |
73 |
| - | |
74 |
| - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
75 | 75 |
| |
76 | 76 |
| |
77 | 77 |
| |
|
0 commit comments
Comments
(0)