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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 7704944) | patch
Teach on_exit_reset() to discard pending cleanups for dsm.
2014年3月10日 14:17:19 +0000 (10:17 -0400)
2014年3月10日 14:17:19 +0000 (10:17 -0400)
commit cb9a0c7987466b130fbced01ab5d5481cf3a16df
Teach on_exit_reset() to discard pending cleanups for dsm.

If a postmaster child invokes fork() and then calls on_exit_reset, that
should be sufficient to let it exit() without breaking anything, but
dynamic shared memory broke that by not updating on_exit_reset() to
discard callbacks registered with dynamic shared memory segments.

Per investigation of a complaint from Tom Lane.
src/backend/storage/ipc/dsm.c diff | blob | blame | history
src/backend/storage/ipc/ipc.c diff | blob | blame | history
src/include/storage/dsm.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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