Re: Add 'worker_type' to pg_stat_subscription - Mailing list pgsql-hackers

From Maxim Orlov
Subject Re: Add 'worker_type' to pg_stat_subscription
Date
Msg-id CACG=ezaYjNts1iEqx8rjd5QNPa2vdKdZQz7aTno4ezAy11oWoA@mail.gmail.com
Whole thread Raw
In response to Re: Add 'worker_type' to pg_stat_subscription  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Add 'worker_type' to pg_stat_subscription
List pgsql-hackers
Hi!

I did a look at the patch, like the idea. The overall code is in a good condition, implements the described feature.

Side note: this is not a problem of this particular patch, but in pg_stat_get_subscription and many other places, there 
is a switch with worker types. Can we use a default section there to have an explicit error instead of the compiler 
warnings if somehow we decide to add another one worker type?

So, should we mark this thread as RfC?

--
Best regards,
Maxim Orlov.

pgsql-hackers by date:

Previous
From: "Hayato Kuroda (Fujitsu)"
Date:
Subject: RE: [PoC] pg_upgrade: allow to upgrade publisher node
Next
From: Peter Eisentraut
Date:
Subject: Re: Reducing connection overhead in pg_upgrade compat check phase