aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_func.c
diff options
context:
space:
mode:
authorSimon Riggs <simon@2ndQuadrant.com>2018-06-16 14:03:29 +0100
committerSimon Riggs <simon@2ndQuadrant.com>2018-06-16 14:03:29 +0100
commit15378c1a15390a2b4c315f19f1644af46c7e3a15 (patch)
tree62dd46828c4fc45790c66aaf133c9564e3571ca6 /src/backend/parser/parse_func.c
parent1cfdb1cb0e3f0acd0fac11537410c48dfd6d9075 (diff)
downloadpostgresql-15378c1a15390a2b4c315f19f1644af46c7e3a15.tar.gz
postgresql-15378c1a15390a2b4c315f19f1644af46c7e3a15.zip
Remove AELs from subxids correctly on standby
Issues relate only to subtransactions that hold AccessExclusiveLocks when replayed on standby. Prior to PG10, aborting subtransactions that held an AccessExclusiveLock failed to release the lock until top level commit or abort. 49bff5300d527 fixed that. However, 49bff5300d527 also introduced a similar bug where subtransaction commit would fail to release an AccessExclusiveLock, leaving the lock to be removed sometimes early and sometimes late. This commit fixes that bug also. Backpatch to PG10 needed. Tested by observation. Note need for multi-node isolationtester to improve test coverage for this and other HS cases. Reported-by: Simon Riggs Author: Simon Riggs
Diffstat (limited to 'src/backend/parser/parse_func.c')
0 files changed, 0 insertions, 0 deletions