aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeSort.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2025-01-24 17:00:10 -0500
committerAndres Freund <andres@anarazel.de>2025-01-24 17:00:10 -0500
commit4d271e3ec25138be360b5a6ee40ec8bfa12459e0 (patch)
tree533cbe1530a9984423a2cdd18acf9d844332af7c /src/backend/executor/nodeSort.c
parenta5579a90af05814eb5dc2fd5f68ce803899d2504 (diff)
downloadpostgresql-4d271e3ec25138be360b5a6ee40ec8bfa12459e0.tar.gz
postgresql-4d271e3ec25138be360b5a6ee40ec8bfa12459e0.zip
checkpointer: Request checkpoint via latch instead of signal
The motivation for this change is that a future commit will use SIGINT for another purpose (postmaster requesting WAL access to be shut down) and that there no other signals that we could readily use (see code comment for the reason why SIGTERM shouldn't be used). But it's also a tad nicer / more efficient to use SetLatch(), as it avoids sending signals when checkpointer already is busy. Reviewed-by: Bertrand Drouvot <bertranddrouvot.pg@gmail.com> Reviewed-by: Nazir Bilal Yavuz <byavuz81@gmail.com> Discussion: https://postgr.es/m/kgng5nrvnlv335evmsuvpnh354rw7qyazl73kdysev2cr2v5zu@m3cfzxicm5kp
Diffstat (limited to 'src/backend/executor/nodeSort.c')
0 files changed, 0 insertions, 0 deletions