pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: process startup: Initialize PgStartTime earlier in single user m
Date: Wed, 15 Sep 2021 20:44:53 +0000
Message-ID: <E1mQbm1-00066C-10@gemulon.postgresql.org> (raw)

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.ntt@gmail.com>
Author: Andres Freund <andres@anarazel.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(-)



Message-ID: <E1mQbm1-00066C-10@gemulon.postgresql.org>
Permalink:  ../E1mQbm1-00066C-10@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1mQbm1-00066C-10@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: andres@anarazel.de
  Subject: Re: pgsql: process startup: Initialize PgStartTime earlier in single user m
  In-Reply-To: <E1mQbm1-00066C-10@gemulon.postgresql.org>
  References: <E1mQbm1-00066C-10@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox