postgresql/src/backend
Andres Freund 4d271e3ec2 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
2025-01-24 17:00:10 -05:00
..
access Add some const decorations (htup.h) 2025-01-23 12:12:08 +01:00
archive Update copyright for 2025 2025-01-01 11:21:55 -05:00
backup Update copyright for 2025 2025-01-01 11:21:55 -05:00
bootstrap Update copyright for 2025 2025-01-01 11:21:55 -05:00
catalog Change publication's publish_generated_columns option type to enum. 2025-01-23 15:28:37 +05:30
commands Ensure that AFTER triggers run as the instigating user. 2025-01-23 12:25:55 -05:00
executor Refactor ExecScan() to allow inlining of its core logic 2025-01-21 12:53:03 +09:00
foreign Update copyright for 2025 2025-01-01 11:21:55 -05:00
jit Add OLD/NEW support to RETURNING in DML queries. 2025-01-16 14:57:35 +00:00
lib Update copyright for 2025 2025-01-01 11:21:55 -05:00
libpq postgres_fdw: SCRAM authentication pass-through 2025-01-15 17:58:05 +01:00
main Update copyright for 2025 2025-01-01 11:21:55 -05:00
nodes Add OLD/NEW support to RETURNING in DML queries. 2025-01-16 14:57:35 +00:00
optimizer Fix setrefs.c's failure to do expression processing on prune steps. 2025-01-16 20:40:07 -05:00
parser Fix parsing of qualified relation names in RETURNING. 2025-01-17 10:35:07 +00:00
partitioning Update copyright for 2025 2025-01-01 11:21:55 -05:00
po Update copyright for 2025 2025-01-01 11:21:55 -05:00
port Update copyright for 2025 2025-01-01 11:21:55 -05:00
postmaster checkpointer: Request checkpoint via latch instead of signal 2025-01-24 17:00:10 -05:00
regex Support PG_UNICODE_FAST locale in the builtin collation provider. 2025-01-17 15:56:30 -08:00
replication Return yyparse() result not via global variable 2025-01-24 06:55:39 +01:00
rewrite Add OLD/NEW support to RETURNING in DML queries. 2025-01-16 14:57:35 +00:00
snowball Update copyright for 2025 2025-01-01 11:21:55 -05:00
statistics Consistently spell "leakproof" without a hyphen. 2025-01-14 13:50:54 +00:00
storage Add const qualifiers to bufpage.h 2025-01-20 11:06:57 +01:00
tcop Use PqMsg_* macros in postgres.c. 2025-01-07 15:34:19 -06:00
tsearch Reword recent error messages: "should" -> "must" 2025-01-21 15:24:49 +01:00
utils Make jsonb casts to scalar types translate JSON null to SQL NULL. 2025-01-24 13:20:44 -05:00
.gitignore
common.mk Blind attempt to fix LLVM dependency in the backend 2022-09-15 10:53:48 +07:00
Makefile Update copyright for 2025 2025-01-01 11:21:55 -05:00
meson.build Update copyright for 2025 2025-01-01 11:21:55 -05:00
nls.mk Return yyparse() result not via global variable 2025-01-24 06:55:39 +01:00