forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5d6728e
committed
Fix nbtree posting list update desc output.
We cannot use the generic array_desc approach with per-tuple nbtreeposting list update metadata because array_desc can only deal with fixedwidth elements (e.g., page offset numbers). Using array_desc led toincorrect rmgr descriptions for updates from nbtree DELETE/VACUUM WALrecords.To fix, add specialized code to describe the update metadata as arrayelements in desc output. We now iterate over the update metadata usingan approach that matches related REDO routines.Also stop showing the updates offset number array separately in nbtreeDELETE/VACUUM desc output. It's redundant information, since the samepage offset numbers appear in the description of each individual updateelement. Also make some small tweaks to the way that we format arraysin all desc routines (not just nbtree desc routines) to make arrays alittle less verbose.Oversight in commit1c453cf, which enhanced the nbtree rmgr descroutines.Author: Peter Geoghegan <pg@bowt.ie>Discussion:https://postgr.es/m/CAH2-WzkbYuvwYKm-Y-72QEh6SPMQcAo9uONv+mR3bMGcu9E_Cg@mail.gmail.com1 parentfbbd7ed commit5d6728e
File tree
5 files changed
+87
-98
lines changed- doc/src/sgml
- src
- backend/access/rmgrdesc
- include/access
5 files changed
+87
-98
lines changedLines changed: 17 additions & 17 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
71 | 71 |
| |
72 | 72 |
| |
73 | 73 |
| |
74 |
| - | |
75 |
| - | |
76 |
| - | |
77 |
| - | |
78 |
| - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
79 | 79 |
| |
80 | 80 |
| |
81 | 81 |
| |
82 |
| - | |
| 82 | + | |
83 | 83 |
| |
84 | 84 |
| |
85 |
| - | |
86 |
| - | |
| 85 | + | |
| 86 | + | |
87 | 87 |
| |
88 | 88 |
| |
89 | 89 |
| |
| |||
144 | 144 |
| |
145 | 145 |
| |
146 | 146 |
| |
147 |
| - | |
| 147 | + | |
148 | 148 |
| |
149 |
| - | |
150 |
| - | |
151 |
| - | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
152 | 152 |
| |
153 | 153 |
| |
154 | 154 |
| |
155 |
| - | |
| 155 | + | |
156 | 156 |
| |
157 |
| - | |
158 |
| - | |
| 157 | + | |
| 158 | + | |
159 | 159 |
| |
160 | 160 |
| |
161 | 161 |
| |
162 | 162 |
| |
163 | 163 |
| |
164 | 164 |
| |
165 | 165 |
| |
166 |
| - | |
167 |
| - | |
| 166 | + | |
| 167 | + | |
168 | 168 |
| |
169 | 169 |
| |
170 | 170 |
| |
|
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
127 | 127 |
| |
128 | 128 |
| |
129 | 129 |
| |
130 |
| - | |
| 130 | + | |
131 | 131 |
| |
132 | 132 |
| |
133 | 133 |
| |
|
Lines changed: 63 additions & 60 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 |
| - | |
21 |
| - | |
22 |
| - | |
23 |
| - | |
24 |
| - | |
25 |
| - | |
26 |
| - | |
27 |
| - | |
28 |
| - | |
29 |
| - | |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 |
| - | |
37 |
| - | |
38 |
| - | |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 |
| - | |
50 |
| - | |
51 |
| - | |
52 |
| - | |
53 |
| - | |
54 |
| - | |
55 |
| - | |
56 |
| - | |
57 |
| - | |
58 |
| - | |
59 |
| - | |
60 |
| - | |
61 |
| - | |
62 |
| - | |
63 |
| - | |
64 |
| - | |
65 |
| - | |
66 |
| - | |
67 |
| - | |
68 |
| - | |
69 |
| - | |
70 |
| - | |
71 |
| - | |
72 |
| - | |
| 20 | + | |
| 21 | + | |
73 | 22 |
| |
74 | 23 |
| |
75 | 24 |
| |
| |||
114 | 63 |
| |
115 | 64 |
| |
116 | 65 |
| |
117 |
| - | |
| 66 | + | |
118 | 67 |
| |
119 |
| - | |
120 | 68 |
| |
121 | 69 |
| |
122 | 70 |
| |
| |||
128 | 76 |
| |
129 | 77 |
| |
130 | 78 |
| |
131 |
| - | |
| 79 | + | |
132 | 80 |
| |
133 |
| - | |
134 | 81 |
| |
135 | 82 |
| |
136 | 83 |
| |
137 | 84 |
| |
138 | 85 |
| |
139 | 86 |
| |
140 |
| - | |
| 87 | + | |
141 | 88 |
| |
142 | 89 |
| |
143 | 90 |
| |
| |||
146 | 93 |
| |
147 | 94 |
| |
148 | 95 |
| |
149 |
| - | |
| 96 | + | |
150 | 97 |
| |
151 | 98 |
| |
152 | 99 |
| |
153 |
| - | |
| 100 | + | |
154 | 101 |
| |
155 | 102 |
| |
156 | 103 |
| |
| |||
242 | 189 |
| |
243 | 190 |
| |
244 | 191 |
| |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + |
Lines changed: 5 additions & 18 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
32 |
| - | |
33 |
| - | |
34 |
| - | |
35 | 32 |
| |
36 | 33 |
| |
37 | 34 |
| |
38 | 35 |
| |
39 | 36 |
| |
40 |
| - | |
41 |
| - | |
42 | 37 |
| |
43 | 38 |
| |
44 | 39 |
| |
| |||
51 | 46 |
| |
52 | 47 |
| |
53 | 48 |
| |
54 |
| - | |
| 49 | + | |
55 | 50 |
| |
56 | 51 |
| |
57 |
| - | |
58 |
| - | |
59 |
| - | |
60 |
| - | |
61 | 52 |
| |
| 53 | + | |
| 54 | + | |
62 | 55 |
| |
63 |
| - | |
| 56 | + | |
64 | 57 |
| |
65 | 58 |
| |
66 | 59 |
| |
| |||
78 | 71 |
| |
79 | 72 |
| |
80 | 73 |
| |
81 |
| - | |
| 74 | + | |
82 | 75 |
| |
83 | 76 |
| |
84 | 77 |
| |
85 |
| - | |
86 |
| - | |
87 |
| - | |
88 |
| - | |
89 |
| - | |
90 |
| - |
Lines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
20 |
| - | |
21 |
| - | |
| 20 | + | |
22 | 21 |
| |
23 | 22 |
|
0 commit comments
Comments
(0)