Re: pg_stat_wal_receiver and flushedUpto/writtenUpto
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>, Thomas Munro <thomas.munro@gmail.com>
Date: 2020-05-15T23:05:39Z
Lists: pgsql-hackers
Attachments
- wal-receiver-stat-v2.patch (text/x-diff) patch v2
On Fri, May 15, 2020 at 01:43:11PM -0400, Alvaro Herrera wrote: > Why do you put the column at the end? I would put written_lsn before > flushed_lsn. Fine by me. I was thinking yesterday about putting the written position after the flushed one, and finished with something that maps with the structure. > Since this requires a catversion bump, I think it'd be best to do it > before beta1 next week. Yes. What do you think of the attached? -- Michael
Commits
-
Doc: Replace reference to pg_stat_wal_receiver.received_lsn by flushed_lsn
- a56e7046d6f2 13.0 landed
-
Make pg_stat_wal_receiver consistent with the WAL receiver's shmem info
- 2c8dd05d6cbc 13.0 landed