public inbox for [email protected]
help / color / mirror / Atom feedFrom: David G. Johnston <[email protected]>
To: Rob Moore <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: Proposal: Add backup start time to pg_stat_progress_basebackup
Date: Mon, 19 Jan 2026 20:22:28 -0700
Message-ID: <CAKFQuwZiBDDJABkR2VVSKgY1H90K8c8OgLVwDxS-R9guLASyzQ@mail.gmail.com> (raw)
In-Reply-To: <CAEGgwtt7nqPsdVwR+b+g+OOkQVmKeg58iD3Fb8D59QLawQ5uKQ@mail.gmail.com>
References: <CAEGgwtt7nqPsdVwR+b+g+OOkQVmKeg58iD3Fb8D59QLawQ5uKQ@mail.gmail.com>
On Monday, January 19, 2026, Rob Moore <[email protected]> wrote:
>
>
> Was backup start time intentionally omitted from pg_stat_progress_basebackup,
> or would it be okay for me or someone else to add it as a column? Or, am I
> being daft and there is another obvious way to get the start time for an
> in-progress base backup?
>
>
Not sure about base backup but the other progress reporting commands would
get that info from pg_stat_activity.query_start which can be joined to
using pid. backend_start is likely close enough for pg_basebackup if it
doesn’t recognize the replication protocol as a “command”. I haven’t
checked.
David J.
view thread (4+ messages) latest in thread
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 using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: Proposal: Add backup start time to pg_stat_progress_basebackup
In-Reply-To: <CAKFQuwZiBDDJABkR2VVSKgY1H90K8c8OgLVwDxS-R9guLASyzQ@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox