git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: a23c641) | patch
Create a multiplexing structure for signals to Postgres child processes.
2009年7月31日 20:26:23 +0000 (20:26 +0000)
2009年7月31日 20:26:23 +0000 (20:26 +0000)
commit 2487d872e025312e7c16f0dd772190c6787efeea
Create a multiplexing structure for signals to Postgres child processes.

This patch gets us out from under the Unix limitation of two user-defined
signal types. We already had done something similar for signals directed to
the postmaster process; this adds multiplexing for signals directed to
backends and auxiliary processes (so long as they're connected to shared
memory).

As proof of concept, replace the former usage of SIGUSR1 and SIGUSR2
for backends with use of the multiplexing mechanism. There are still some
hard-wired definitions of SIGUSR1 and SIGUSR2 for other process types,
but getting rid of those doesn't seem interesting at the moment.

Fujii Masao
16 files changed:
src/backend/bootstrap/bootstrap.c diff | blob | blame | history
src/backend/commands/async.c diff | blob | blame | history
src/backend/postmaster/autovacuum.c diff | blob | blame | history
src/backend/postmaster/bgwriter.c diff | blob | blame | history
src/backend/postmaster/walwriter.c diff | blob | blame | history
src/backend/storage/ipc/Makefile diff | blob | blame | history
src/backend/storage/ipc/ipci.c diff | blob | blame | history
src/backend/storage/ipc/procsignal.c [new file with mode: 0644] blob
src/backend/storage/ipc/sinval.c diff | blob | blame | history
src/backend/storage/ipc/sinvaladt.c diff | blob | blame | history
src/backend/tcop/postgres.c diff | blob | blame | history
src/backend/utils/init/postinit.c diff | blob | blame | history
src/include/bootstrap/bootstrap.h diff | blob | blame | history
src/include/commands/async.h diff | blob | blame | history
src/include/storage/procsignal.h [new file with mode: 0644] blob
src/include/storage/sinval.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /