diff options
author | Amit Kapila <akapila@postgresql.org> | 2021-05-06 08:26:42 +0530 |
---|---|---|
committer | Amit Kapila <akapila@postgresql.org> | 2021-05-06 08:26:42 +0530 |
commit | 2ce353fc19024d62e59ad99850d7592ebc9abecf (patch) | |
tree | 6459423472c6dfdd8626ac8f53b80bec562db802 /src/backend/jit/llvm/llvmjit_expr.c | |
parent | c250062df42ffd3e252471f6205bfb6cbef67b7b (diff) | |
download | postgresql-2ce353fc19024d62e59ad99850d7592ebc9abecf.tar.gz postgresql-2ce353fc19024d62e59ad99850d7592ebc9abecf.zip |
Tighten the concurrent abort check during decoding.
During decoding of an in-progress or prepared transaction, we detect
concurrent abort with an error code ERRCODE_TRANSACTION_ROLLBACK. That is
not sufficient because a callback can decide to throw that error code
at other times as well.
Reported-by: Tom Lane
Author: Amit Kapila
Reviewed-by: Dilip Kumar
Discussion: https://postgr.es/m/CAA4eK1KCjPRS4aZHB48QMM4J8XOC1+TD8jo-4Yu84E+MjwqVhA@mail.gmail.com
Diffstat (limited to 'src/backend/jit/llvm/llvmjit_expr.c')
0 files changed, 0 insertions, 0 deletions