aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeProjectSet.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2021-07-02 12:58:34 +0900
committerMichael Paquier <michael@paquier.xyz>2021-07-02 12:58:34 +0900
commit70685385d70f8da73ab189a72f46311091ff09be (patch)
tree1cb15731a32d333b6e30a700dbe94283aa83bcd8 /src/backend/executor/nodeProjectSet.c
parenta2595e039c4745d82f361ea15d692cac114575cc (diff)
downloadpostgresql-70685385d70f8da73ab189a72f46311091ff09be.tar.gz
postgresql-70685385d70f8da73ab189a72f46311091ff09be.zip
Use WaitLatch() instead of pg_usleep() at end-of-vacuum truncation
This has the advantage to make a process more responsive when the postmaster dies, even if the wait time was rather limited as there was only a 50ms timeout here. Another advantage of this change is for monitoring, as we gain a new wait event for the end-of-vacuum truncation. Author: Bharath Rupireddy Reviewed-by: Aleksander Alekseev, Thomas Munro, Michael Paquier Discussion: https://postgr.es/m/CALj2ACU4AdPCq6NLfcA-ZGwX7pPCK5FgEj-CAU0xCKzkASSy_A@mail.gmail.com
Diffstat (limited to 'src/backend/executor/nodeProjectSet.c')
0 files changed, 0 insertions, 0 deletions