Обсуждение: pgsql: Demote variable from global to local

Поиск
Список
Период
Сортировка

pgsql: Demote variable from global to local

От
Alvaro Herrera
Дата:
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/91fca4bb60e8c00e8b0e2755555b39f4b1c1659c

Modified Files
--------------
src/backend/access/transam/xlog.c | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)