diff --git a/pg_show_plans.c b/pg_show_plans.c index e40a809..4b32f8a 100644 --- a/pg_show_plans.c +++ b/pg_show_plans.c @@ -299,7 +299,6 @@ append_query_plan(ExplainState *es) new_plan->len--; /* Discard '\n'. */ if (new_plan->len < space_left) { /* Enough space for a new plan. */ - /* -1 to dispose of '\n'. */ memcpy(pgsp_cache->plan + offset, new_plan->data, new_plan->len); pgsp_cache->plan[offset + new_plan->len] = '\0';