aboutsummaryrefslogtreecommitdiff
path: root/contrib/jsonb_plpython/jsonb_plpython2u.control
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2019-03-14 10:25:27 +1300
committerThomas Munro <tmunro@postgresql.org>2019-03-14 10:59:33 +1300
commitc6c9474aafa4de357ae424cd18b69e8bf7a4babe (patch)
tree99d567cf37361f559828c2240fc93989a2124f76 /contrib/jsonb_plpython/jsonb_plpython2u.control
parent5655565c077c53b6e9b4b9bfcdf96439cf3af065 (diff)
downloadpostgresql-c6c9474aafa4de357ae424cd18b69e8bf7a4babe.tar.gz
postgresql-c6c9474aafa4de357ae424cd18b69e8bf7a4babe.zip
Use condition variables to wait for checkpoints.
Previously we used a polling/sleeping loop to wait for checkpoints to begin and end, which leads to up to a couple hundred milliseconds of needless thumb-twiddling. Use condition variables instead. Author: Thomas Munro Reviewed-by: Andres Freund Discussion: https://postgr.es/m/CA%2BhUKGLY7sDe%2Bbg1K%3DbnEzOofGoo4bJHYh9%2BcDCXJepb6DQmLw%40mail.gmail.com
Diffstat (limited to 'contrib/jsonb_plpython/jsonb_plpython2u.control')
0 files changed, 0 insertions, 0 deletions