aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/copyfromparse.c
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2021-04-01 07:57:34 +0530
committerAmit Kapila <akapila@postgresql.org>2021-04-01 07:57:34 +0530
commit4778826532a62fd6e4d3fdeef9532c943604c730 (patch)
treecf96646cc16b707fa40f6ca6046e12cdcaf5c7ce /src/backend/commands/copyfromparse.c
parent0d1a33438d3a88938264e12e94c22818307d2f4d (diff)
downloadpostgresql-4778826532a62fd6e4d3fdeef9532c943604c730.tar.gz
postgresql-4778826532a62fd6e4d3fdeef9532c943604c730.zip
Ensure to send a prepare after we detect concurrent abort during decoding.
It is possible that while decoding a prepared transaction, it gets aborted concurrently via a ROLLBACK PREPARED command. In that case, we were skipping all the changes and directly sending Rollback Prepared when we find the same in WAL. However, the downstream has no idea of the GID of such a transaction. So, ensure to send prepare even when a concurrent abort is detected. Author: Ajin Cherian Reviewed-by: Markus Wanner, Amit Kapila Discussion: https://postgr.es/m/f82133c6-6055-b400-7922-97dae9f2b50b@enterprisedb.com
Diffstat (limited to 'src/backend/commands/copyfromparse.c')
0 files changed, 0 insertions, 0 deletions