summaryrefslogtreecommitdiff
path: root/src/backend/commands/sequence.c
diff options
context:
space:
mode:
authorSimon Riggs <simon@2ndQuadrant.com>2012-02-01 09:33:16 +0000
committerSimon Riggs <simon@2ndQuadrant.com>2012-02-01 09:33:16 +0000
commita286b6f6c7f6b327fad2a7081d7df88a4c83ce11 (patch)
tree510a4abfe4d660d2b33e3d1a8065d2c84b4ef3fa /src/backend/commands/sequence.c
parent8bff6407ba142423e2498d638e7a49ed32e89553 (diff)
Resolve timing issue with logging locks for Hot Standby.
We log AccessExclusiveLocks for replay onto standby nodes, but because of timing issues on ProcArray it is possible to log a lock that is still held by a just committed transaction that is very soon to be removed. To avoid any timing issue we avoid applying locks made by transactions with InvalidXid. Simon Riggs, bug report Tom Lane, diagnosis Pavan Deolasee
Diffstat (limited to 'src/backend/commands/sequence.c')
0 files changed, 0 insertions, 0 deletions