Commit a29834b
committed
Allow table AM's to use rd_amcache, too.
The rd_amcache allows an index AM to cache arbitrary information in a
relcache entry. This commit moves the cleanup of rd_amcache so that it
can also be used by table AMs. Nothing takes advantage of that yet, but
I'm sure it'll come handy for anyone writing new table AMs.
Backpatch to v12, where table AM interface was introduced.
Reviewed-by: Julien Rouhaud1 parent d8b094d commit a29834b
2 files changed
+20
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2357 | 2357 | | |
2358 | 2358 | | |
2359 | 2359 | | |
| 2360 | + | |
| 2361 | + | |
| 2362 | + | |
| 2363 | + | |
2360 | 2364 | | |
2361 | 2365 | | |
2362 | 2366 | | |
| |||
2369 | 2373 | | |
2370 | 2374 | | |
2371 | 2375 | | |
2372 | | - | |
2373 | | - | |
2374 | 2376 | | |
2375 | 2377 | | |
2376 | 2378 | | |
| |||
2415 | 2417 | | |
2416 | 2418 | | |
2417 | 2419 | | |
| 2420 | + | |
| 2421 | + | |
| 2422 | + | |
| 2423 | + | |
| 2424 | + | |
2418 | 2425 | | |
2419 | 2426 | | |
2420 | 2427 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | 155 | | |
163 | 156 | | |
164 | 157 | | |
| |||
173 | 166 | | |
174 | 167 | | |
175 | 168 | | |
176 | | - | |
177 | 169 | | |
178 | 170 | | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
179 | 182 | | |
180 | 183 | | |
181 | 184 | | |
| |||
0 commit comments