Re: Improve tab completion for ALTER STATISTICS

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: vignesh C <vignesh21(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Improve tab completion for ALTER STATISTICS
Date: 2022-10-24 07:00:10
Message-ID: Y1Y3+klzHeASmIJS@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Oct 19, 2022 at 04:06:51PM +0530, vignesh C wrote:
> I noticed that the tab completion for ALTER STATISTICS .. SET was not
> handled. The attached patch displays SCHEMA and STATISTICS for tab
> completion of ALTER STATISTICS name SET.

Indeed, it is a bit strange as we would get a list of settable
parameters once the completion up to SET is done, rather than
STATISTICS and SCHEMA. Your patch looks fine, so applied. Thanks!
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Frédéric Yhuel 2022-10-24 07:02:46 Re: [PATCH] minor bug fix for pg_dump --clean
Previous Message Japin Li 2022-10-24 06:59:54 Re: Question about savepoint level?