Commit 4eb9798
committed
Avoid freeing objects during json aggregate finalization
Commit f4fb45d tried to free memory during aggregate finalization.
This cause issues, particularly when used as a window function, so stop
doing that.
Per complaint by Jaime Casanova and diagnosis by Andres Freund
Discussion: https://postgr.es/m/YkfeMNYRCGhySKyg@ahch-to1 parent afb529e commit 4eb9798
1 file changed
+4
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
979 | 979 | | |
980 | 980 | | |
981 | 981 | | |
982 | | - | |
983 | | - | |
984 | | - | |
985 | | - | |
986 | | - | |
987 | | - | |
988 | 982 | | |
989 | 983 | | |
990 | 984 | | |
| |||
1009 | 1003 | | |
1010 | 1004 | | |
1011 | 1005 | | |
1012 | | - | |
| 1006 | + | |
1013 | 1007 | | |
1014 | | - | |
1015 | | - | |
1016 | 1008 | | |
1017 | | - | |
| 1009 | + | |
1018 | 1010 | | |
1019 | 1011 | | |
1020 | 1012 | | |
| |||
1224 | 1216 | | |
1225 | 1217 | | |
1226 | 1218 | | |
1227 | | - | |
| 1219 | + | |
1228 | 1220 | | |
1229 | 1221 | | |
1230 | 1222 | | |
| |||
1333 | 1325 | | |
1334 | 1326 | | |
1335 | 1327 | | |
1336 | | - | |
| 1328 | + | |
1337 | 1329 | | |
1338 | 1330 | | |
1339 | 1331 | | |
| |||
0 commit comments