pgsql: Report waiting via PS while recovery is waiting for buffer pin i

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Report waiting via PS while recovery is waiting for buffer pin i
Date: 2020-03-30 08:37:03
Message-ID: E1jIpup-0007ej-NM@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Report waiting via PS while recovery is waiting for buffer pin in hot standby.

Previously while the startup process was waiting for the recovery conflict
with snapshot, tablespace or lock to be resolved, waiting was reported in
PS display, but not in the case of recovery conflict with buffer pin.
This commit makes the startup process in hot standby report waiting via PS
while waiting for the conflicts with other backends holding buffer pins to
be resolved.

Author: Masahiko Sawada
Reviewed-by: Fujii Masao
Discussion: https://postgr.es/m/CA+fd4k4mXWTwfQLS3RPwGr4xnfAEs1ysFfgYHvmmoUgv6Zxvmg@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/64638ccba3a659d8b8a3a4bc5b47307685a64a8a

Modified Files
--------------
src/backend/storage/buffer/bufmgr.c | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message David Rowley 2020-03-30 10:41:33 pgsql: Attempt to fix unstable regression tests, take 2
Previous Message Peter Eisentraut 2020-03-30 07:58:54 pgsql: Improve handling of parameter differences in physical replicatio