Demote variable from global to local
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 16 Dec 2019 17:23:56 +0000 (14:23 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Mon, 16 Dec 2019 17:23:56 +0000 (14:23 -0300)
commit91fca4bb60e8c00e8b0e2755555b39f4b1c1659c
tree8c4f4ae9ee0af9fa42dd39090b76c092494e1d1f
parent741b884353e4803abc15d4392ad287b0d5953fc4
Demote variable from global to local

recoveryDelayUntilTime was introduced by commit 36da3cfb457b as a global
because its method of operation was devilishly intrincate.  Commit
c945af80cfda removed all that complexity and could have turned it into a
local variable, but didn't.  Do so now.

Discussion: https://postgr.es/m/20191213200751.GA10731@alvherre.pgsql
Reviewed-by: Michaƫl Paquier, Daniel Gustafsson
src/backend/access/transam/xlog.c