Commit 3f48294
committed
ExecInitAgg: update aggstate->numaggs and ->numtrans earlier.
Functions hash_agg_entry_size() and build_hash_tables() make use of
those values for memory size estimates.
Because this change only affects memory estimates, don't backpatch.
Discussion: https://postgr.es/m/7530bd8783b1a78d53a3c70383e38d8da0a5ffe5.camel%40j-davis.com1 parent 32ddfaf commit 3f48294
1 file changed
+2
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3379 | 3379 | | |
3380 | 3380 | | |
3381 | 3381 | | |
3382 | | - | |
3383 | | - | |
| 3382 | + | |
| 3383 | + | |
3384 | 3384 | | |
3385 | 3385 | | |
3386 | 3386 | | |
| |||
3943 | 3943 | | |
3944 | 3944 | | |
3945 | 3945 | | |
3946 | | - | |
3947 | | - | |
3948 | | - | |
3949 | | - | |
3950 | | - | |
3951 | | - | |
3952 | | - | |
3953 | 3946 | | |
3954 | 3947 | | |
3955 | 3948 | | |
| |||
0 commit comments