aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2021-01-27 12:20:46 -0500
committerRobert Haas <rhaas@postgresql.org>2021-01-27 12:20:46 -0500
commit1f113abdf87cd085dee3927960bb4f70442b7250 (patch)
treeb10b455096db4ad3a6471cf52f6ddec219462b9c /doc/src
parente42b3c3bd6a9c6233ac4c8a2e9b040367ba2f97c (diff)
downloadpostgresql-1f113abdf87cd085dee3927960bb4f70442b7250.tar.gz
postgresql-1f113abdf87cd085dee3927960bb4f70442b7250.zip
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
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions