pgsql: Reset context at the tail end of JITed EEOP_AGG_PLAIN_TRANS.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Reset context at the tail end of JITed EEOP_AGG_PLAIN_TRANS.
Date: 2018-07-23 03:45:48
Message-ID: E1fhRnA-0000xN-C1@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Reset context at the tail end of JITed EEOP_AGG_PLAIN_TRANS.

While no negative consequences are currently known, it's clearly wrong
to not reset the context in one of the branches.

Reported-By: Dmitry Dolgov
Author: Dmitry Dolgov
Discussion: https://postgr.es/m/CAGPqQf165-=+Drw3Voim7M5EjHT1zwPF9BQRjLFQzCzYnNZEiQ@mail.gmail.com
Backpatch: 11-, where JIT compilation support was added

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1307bc3d45c1a8a72c7483f2a81e72725116f007

Modified Files
--------------
src/backend/jit/llvm/llvmjit_expr.c | 2 ++
1 file changed, 2 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2018-07-23 03:45:49 pgsql: Reset context at the tail end of JITed EEOP_AGG_PLAIN_TRANS.
Previous Message Michael Paquier 2018-07-23 01:02:49 Re: pgsql: Deduplicate "invalid input syntax" messages for various types.