Re: Add 'worker_type' to pg_stat_subscription

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Peter Smith <smithpb2250@gmail.com>
Cc: Nathan Bossart <nathandbossart@gmail.com>, Amit Kapila <amit.kapila16@gmail.com>, Maxim Orlov <orlovmg@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-09-20T23:14:23Z
Lists: pgsql-hackers
On Thu, Sep 21, 2023 at 09:01:01AM +1000, Peter Smith wrote:
> One question -- the patch comment still says "Bumps catversion.", but
> catversion.h change is missing from the v9 patch?

Yeah, previous patches did that, but it is no big deal.  My take is
that it is a good practice to never do a catversion bump in posted
patches, and that it is equally a good practice from Nathan to be
reminded about that with the addition of a note in the commit message
of the patch posted.
--
Michael

Commits

  1. Add worker type to pg_stat_subscription.

  2. Simplify determining logical replication worker types.