aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistproc.c
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2021-03-12 19:03:52 +1300
committerThomas Munro <tmunro@postgresql.org>2021-03-12 19:45:42 +1300
commit600f2f50b7a57c8481276450c9019fa7b3656411 (patch)
treec7714305e8d1015a87653c0b53cd57352fb8a558 /src/backend/access/gist/gistproc.c
parentb82640df0062483431608b7e9e074255f03e6c02 (diff)
downloadpostgresql-600f2f50b7a57c8481276450c9019fa7b3656411.tar.gz
postgresql-600f2f50b7a57c8481276450c9019fa7b3656411.zip
Add condition variable for recovery resume.
Replace a sleep loop with a CV, to get a fast reaction time when recovery is resumed or the postmaster exits via standard infrastructure. Unfortunately we still need to wake up every second to perform extra polling during the recovery pause loop. Discussion: https://postgr.es/m/CA%2BhUKGK1607VmtrDUHQXrsooU%3Dap4g4R2yaoByWOOA3m8xevUQ%40mail.gmail.com
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions