Re: Tab completion for "ALTER TYPE typename SET" and rearranged "Alter TYPE typename RENAME"

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: Tab completion for "ALTER TYPE typename SET" and rearranged "Alter TYPE typename RENAME"
Date: 2022-08-14 10:11:11
Message-ID: YvjKP6n7ShFTNskZ@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sun, Aug 14, 2022 at 08:25:01AM +0530, vignesh C wrote:
> Attached patch has the changes for the same. Thoughts?
>
> a) Add tab completion for "ALTER TYPE typename SET" was missing.

Why not. I can also note that CREATE TYPE lists all the properties
that can be set to a new type. We could bother adding these for ALTER
TYPE, perhaps?

> b) Tab completion for "ALTER TYPE <sth> RENAME VALUE" was not along with tab
> completion of "ALTER TYPE" commands, it was present after "ALTER GROUP
> <foo>", rearranged "ALTER TYPE <sth> RENAME VALUE", so that it is along with
> "ALTER TYPE" commands.

Yeah, no objections to keep that grouped.
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2022-08-14 10:16:57 Re: fix stale help message
Previous Message Michael Paquier 2022-08-14 09:57:40 Re: [PATCH] Expose port->authn_id to extensions and triggers