[pgpool-committers: 2194] pgpool: before this commit pgpool calls save_ps_display_args() at each
Muhammad Usama
m.usama at gmail.com
Wed Oct 15 23:40:00 JST 2014
before this commit pgpool calls save_ps_display_args() at each process fork,
which was not actually required and just an unwanted overhead. Doing it once at
system startup from main process is enough as memory of the parent process is
inherited and copied (COW) in child process.
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=497f13386dec7574f19d82a59a1547f1ac39b7d0
Modified Files
--------------
src/include/watchdog/wd_ext.h | 3 ---
src/main/main.c | 2 +-
src/main/pgpool_main.c | 3 ---
src/pcp_con/pcp_child.c | 3 ---
src/streaming_replication/pool_worker_child.c | 3 ---
src/watchdog/watchdog.c | 2 --
src/watchdog/wd_child.c | 2 --
src/watchdog/wd_heartbeat.c | 4 ----
8 files changed, 1 insertion(+), 21 deletions(-)
More information about the pgpool-committers
mailing list