On 2020-Mar-17, Justin Pryzby wrote:

> +static PgSubprocess process_types[] = {
> +     {
> +             .desc = "checker",
> +             .entrypoint = CheckerModeMain
> +     },
> +     {
> +             .desc = "bootstrap",
> +             .entrypoint = BootstrapModeMain
> +     },

Maybe this stuff can be resolved using a technique like rmgrlist.h or
cmdtaglist.h.  That way it's not in two separate files.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


Reply via email to