diff options
author | Andres Freund <andres@anarazel.de> | 2018-07-22 16:47:00 -0700 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2018-07-22 17:00:41 -0700 |
commit | 6b4d860311e99621681f25db5db82f88348d8ea6 (patch) | |
tree | c3b6aa1163051a9eaf1d35e838698495debf8053 /src/backend/access/transam/xlog.c | |
parent | 86eaf208ea048936df6be77276a246d3f92e9620 (diff) | |
download | postgresql-6b4d860311e99621681f25db5db82f88348d8ea6.tar.gz postgresql-6b4d860311e99621681f25db5db82f88348d8ea6.zip |
Fix JITed EEOP_AGG_INIT_TRANS, which missed some state.
The JIT compiled implementation missed maintaining
AggState->{current_set,curaggcontext}. That could lead to trouble
because the transition value could be allocated in the wrong context.
Reported-By: Rushabh Lathia
Diagnosed-By: Dmitry Dolgov
Author: Dmitry Dolgov, with minor changes by me
Discussion: https://postgr.es/m/CAGPqQf165-=+Drw3Voim7M5EjHT1zwPF9BQRjLFQzCzYnNZEiQ@mail.gmail.com
Backpatch: 11-, where JIT compilation support was added
Diffstat (limited to 'src/backend/access/transam/xlog.c')
0 files changed, 0 insertions, 0 deletions