Thread: pgsql: PublishStartupProcessInformation() to avoid rare hang in recover

pgsql: PublishStartupProcessInformation() to avoid rare hang in recover

From
Simon Riggs
Date:
PublishStartupProcessInformation() to avoid rare hang in recovery.
Bgwriter could cause hang in recovery during page concurrent cleaning.

Bug report and testing by Bernd Helmle, fix by me

Branch
------
REL8_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/7c24bac64c3828d651abfd5e34bd0e0031ab9946

Modified Files
--------------
src/backend/access/transam/xlog.c |    2 +
src/backend/storage/lmgr/proc.c   |   43 ++++++++++++++++++++++++++++++++++++-
src/include/storage/proc.h        |    6 +++++
3 files changed, 50 insertions(+), 1 deletions(-)