pgsql: process startup: Initialize PgStartTime earlier in single user m

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: process startup: Initialize PgStartTime earlier in single user m
Date: 2021-09-15 20:44:53
Message-ID: E1mQbm1-00066C-10@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

process startup: Initialize PgStartTime earlier in single user mode.

An upcoming patch splits single user mode handling out of PostgresMain(). The
startup time only needs to be determined in single user mode. Currently the
initialization happens late, which makes the split a bit harder. As postmaster
determines the time earlier it makes sense to move the time for single user
mode to a roughly similar point in time.

Reviewd-By: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
Author: Andres Freund <andres(at)anarazel(dot)de>
Discussion: https://postgr.es/m/20210802164124.ufo5buo4apl6yuvs@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2c7615f77b8d84130d304365aa2235eea7b5949c

Modified Files
--------------
src/backend/tcop/postgres.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2021-09-16 02:05:02 pgsql: Support "postgres -C" with runtime-computed GUCs
Previous Message Tom Lane 2021-09-15 18:11:27 pgsql: Remove arbitrary 64K-or-so limit on rangetable size.