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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: c9e2e2d) | patch
Allow discovery of whether a dynamic background worker is running.
2013年8月28日 18:08:13 +0000 (14:08 -0400)
2013年8月28日 18:08:13 +0000 (14:08 -0400)
commit 090d0f2050647958865cb495dff74af7257d2bb4
Allow discovery of whether a dynamic background worker is running.

Using the infrastructure provided by this patch, it's possible either
to wait for the startup of a dynamically-registered background worker,
or to poll the status of such a worker without waiting. In either
case, the current PID of the worker process can also be obtained.
As usual, worker_spi is updated to demonstrate the new functionality.

Patch by me. Review by Andres Freund.
12 files changed:
contrib/worker_spi/worker_spi--1.0.sql diff | blob | blame | history
contrib/worker_spi/worker_spi.c diff | blob | blame | history
doc/src/sgml/bgworker.sgml diff | blob | blame | history
src/backend/commands/async.c diff | blob | blame | history
src/backend/postmaster/bgworker.c diff | blob | blame | history
src/backend/postmaster/postmaster.c diff | blob | blame | history
src/backend/storage/ipc/procsignal.c diff | blob | blame | history
src/include/miscadmin.h diff | blob | blame | history
src/include/postmaster/bgworker.h diff | blob | blame | history
src/include/postmaster/bgworker_internals.h diff | blob | blame | history
src/include/postmaster/postmaster.h diff | blob | blame | history
src/include/storage/procsignal.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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