diff --git a/.github/workflows/installcheck.yml b/.github/workflows/installcheck.yml index 71d2c09..aa35197 100644 --- a/.github/workflows/installcheck.yml +++ b/.github/workflows/installcheck.yml @@ -19,8 +19,6 @@ jobs: - 17 - 16 - 15 - - 14 - - 13 env: PGVERSION: ${{ matrix.pgversion }} diff --git a/pg_show_plans.c b/pg_show_plans.c index d591ef9..f41f998 100644 --- a/pg_show_plans.c +++ b/pg_show_plans.c @@ -159,7 +159,11 @@ _PG_init(void) NULL, &start_enabled, true, +#if PG_VERSION_NUM >= 150000 PGC_USERSET, +#else + PGC_POSTMASTER, +#endif 0, NULL, set_state, show_state); DefineCustomIntVariable("pg_show_plans.max_plan_length", @@ -183,7 +187,11 @@ _PG_init(void) &plan_format, EXPLAIN_FORMAT_TEXT, plan_formats, +#if PG_VERSION_NUM >= 150000 PGC_USERSET, +#else + PGC_POSTMASTER, +#endif 0, NULL, prop_format_to_shmem, show_format);