aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/xml.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2007-04-03 16:34:36 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2007-04-03 16:34:36 +0000
commit9c9b619473cd9d2f3f3181bd9cd6862c64abb4d3 (patch)
tree4cf41b7316d638094c0f30c8e2c0b6565d4465ee /src/backend/utils/adt/xml.c
parentfb4279e99cf71c27c132a75ed62a08395329b496 (diff)
downloadpostgresql-9c9b619473cd9d2f3f3181bd9cd6862c64abb4d3.tar.gz
postgresql-9c9b619473cd9d2f3f3181bd9cd6862c64abb4d3.zip
Remove the CheckpointStartLock in favor of having backends show whether they
are in their commit critical sections via flags in the ProcArray. Checkpoint can watch the ProcArray to determine when it's safe to proceed. This is a considerably better solution to the original problem of race conditions between checkpoint and transaction commit: it speeds up commit, since there's one less lock to fool with, and it prevents the problem of checkpoint being delayed indefinitely when there's a constant flow of commits. Heikki, with some kibitzing from Tom.
Diffstat (limited to 'src/backend/utils/adt/xml.c')
0 files changed, 0 insertions, 0 deletions