forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitd93bb81
committed
Fix outdated CHUNKHDRSZ value in nodeAgg.c
CHUNKHDRSZ was defined as 16 bytes, which was true when that code went in,but sincec6e0fe1, 8 is a more accurate value. Here we adjust it to usesizeof(MemoryChunk), which is normally 8, or 16 for cassert builds.c6e0fe1 first appeared in v16, so this is technically wrong in v16 upto master, but let's apply this only to master as adjusting this doesinfluence the estimated number of batches in the aggregate costing codeand we don't want to cause plan instability in released versions.Reviewed-by: Tom LaneDiscussion:https://postgr.es/m/CAApHDvpMpRQvsTqZo3FinXkgytwxwF8sCyZm83xDj-1s_hLe+w@mail.gmail.com1 parent11012c5 commitd93bb81
1 file changed
+3
-3
lines changedLines changed: 3 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
272 | 272 |
| |
273 | 273 |
| |
274 | 274 |
| |
| 275 | + | |
275 | 276 |
| |
276 | 277 |
| |
277 | 278 |
| |
| |||
314 | 315 |
| |
315 | 316 |
| |
316 | 317 |
| |
317 |
| - | |
318 |
| - | |
| 318 | + | |
319 | 319 |
| |
320 |
| - | |
| 320 | + | |
321 | 321 |
| |
322 | 322 |
| |
323 | 323 |
| |
|
0 commit comments
Comments
(0)