git.postgresql.org Git - postgresql.git/commit
2021年1月27日 17:20:46 +0000 (12:20 -0500)
2021年1月27日 17:20:46 +0000 (12:20 -0500)
commit 1f113abdf87cd085dee3927960bb4f70442b7250
Move StartupCLOG() calls to just after we initialize ShmemVariableCache.
Previously, the hot_standby=off code path did this at end of recovery,
while the hot_standby=on code path did it at the beginning of recovery.
It's better to do this in only one place because (a) it's simpler,
(b) StartupCLOG() is trivial so trying to postpone the work isn't
useful, and (c) this will make it possible to simplify some other
logic.
Patch by me, reviewed by Heikki Linnakangas.
Discussion: http://postgr.es/m/CA+TgmoZYig9+AQodhF5sRXuKkJ=RgFDugLr3XX_dz_F-p=TwTg@mail.gmail.com
This is the main PostgreSQL git repository.
RSS
Atom