| From: | Xuneng Zhou <xunengzhou(at)gmail(dot)com> |
|---|---|
| To: | Michael Paquier <michael(at)paquier(dot)xyz> |
| Cc: | pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: Add pg_stat_recovery system view |
| Date: | 2026-03-06 06:06:01 |
| Message-ID: | CABPTF7VUCXXYH=L66MPrTucqbc7rkTd1T6rmPnW1=oNwBv7DJA@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi,
On Fri, Mar 6, 2026 at 12:00 PM Michael Paquier <michael(at)paquier(dot)xyz> wrote:
>
> On Thu, Mar 05, 2026 at 09:01:35PM +0800, Xuneng Zhou wrote:
> > Here is the updated patch set. Please take a look.
>
> Thanks. It was mostly fine, still:
> - The extra mention of ROLE_PG_READ_ALL_STATS was not necessary. We
> already have one at the top of the section.
> - After sleeping on it, I have decided to keep recoveryLastXTime,
> partially because we have a system function to retrieve it already.
> - There was a refactoring piece possible when we switch a
> RecoveryPauseState to a non-translatable string, which I have applied
> separately
It looks cleaner.
> - Added one test with pg_stat_recovery checked on a standby.
> --
> Michael
Thanks for improving and pushing!
--
Best,
Xuneng
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2026-03-06 06:06:05 | Re: [PATCH] Fix improper tuple deallocation in import_pg_statist() |
| Previous Message | yangyz | 2026-03-06 05:48:42 | Re: Add pg_stat_recovery system view |