aboutsummaryrefslogtreecommitdiff
path: root/src/common/jsonapi.c
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2021-03-01 15:17:28 +1300
committerThomas Munro <tmunro@postgresql.org>2021-03-01 16:19:38 +1300
commit6230912f23904aa6cb2a1f948ca9b08235b4f54a (patch)
tree235956131449191383a4a7bb116b0f81e6626616 /src/common/jsonapi.c
parenta042ba2ba7bb44f191f6f9398da27f04a958a0db (diff)
downloadpostgresql-6230912f23904aa6cb2a1f948ca9b08235b4f54a.tar.gz
postgresql-6230912f23904aa6cb2a1f948ca9b08235b4f54a.zip
Use FeBeWaitSet for walsender.c.
This avoids the need to set up and tear down a fresh WaitEventSet every time we need need to wait. We have to add an explicit exit on postmaster exit (FeBeWaitSet isn't set up to do that automatically), so move the code to do that into a new function to avoid repetition. Reviewed-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com> (earlier version) Discussion: https://postgr.es/m/CA%2BhUKGJAC4Oqao%3DqforhNey20J8CiG2R%3DoBPqvfR0vOJrFysGw%40mail.gmail.com
Diffstat (limited to 'src/common/jsonapi.c')
0 files changed, 0 insertions, 0 deletions