pgsql: Demote variable from global to local

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Demote variable from global to local
Дата
Msg-id E1igu6n-0007DK-6H@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Fix yet another crash in page split during GiST index creation.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: On Windows, wait a little to see if ERROR_ACCESS_DENIED goes awa