aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/statscmds.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2021-09-08 12:19:50 -0700
committerAndres Freund <andres@anarazel.de>2021-09-17 19:56:47 -0700
commit7c83a3bf51489e5b48c567c2ac54fed030d23c52 (patch)
tree5d85bd3cb84626ad497bc54acf378d4acf2af4bf /src/backend/commands/statscmds.c
parent499c9b1266395c5e4c22bd7b2cbdb7f5a64ea4fa (diff)
downloadpostgresql-7c83a3bf51489e5b48c567c2ac54fed030d23c52.tar.gz
postgresql-7c83a3bf51489e5b48c567c2ac54fed030d23c52.zip
process startup: Split single user code out of PostgresMain().
It was harder than necessary to understand PostgresMain() because the code for a normal backend was interspersed with single-user mode specific code. Split most of the single-user mode code into its own function PostgresSingleUserMain(), that does all the necessary setup for single-user mode, and then hands off after that to PostgresMain(). There still is some single-user mode code in InitPostgres(), and it'd likely be worth moving at least some of it out. But that's for later. Reviewed-By: Kyotaro Horiguchi <horikyota.ntt@gmail.com> Author: Andres Freund <andres@anarazel.de> Discussion: https://postgr.es/m/20210802164124.ufo5buo4apl6yuvs@alap3.anarazel.de
Diffstat (limited to 'src/backend/commands/statscmds.c')
0 files changed, 0 insertions, 0 deletions