Re: [PATCH] psql: tab completion for ALTER ROLE ... IN DATABASE ...

From: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
To: VASUKI M <vasukianand0119(at)gmail(dot)com>
Cc: zengman <zengman(at)halodbtech(dot)com>, Ian Lawrence Barwick <barwick(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, surya poondla <suryapoondla4(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Robert Haas <robertmhaas(at)gmail(dot)com>, Dharin Shah <dharinshah95(at)gmail(dot)com>
Subject: Re: [PATCH] psql: tab completion for ALTER ROLE ... IN DATABASE ...
Date: 2026-03-02 17:33:39
Message-ID: 202603021731.7xkrwh2sv5al@alvherre.pgsql
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2026-Mar-02, Álvaro Herrera wrote:

> On 2026-Jan-06, VASUKI M wrote:
>
> > Sorry,it was an incremental patch.
> > The attached v5 is the fresh patch against Master.
>
> I have pushed this, but I felt the completion for RESET was not ready
> yet, so I left it out.

Oh, one point I forgot to mention is that I changed the "IN DATABASE"
item to simply "IN" when completing ALTER ROLE <name>. Because we also
have INHERIT in that list, the "IN DATABASE" bit can never be used
fully.

--
Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jacob Champion 2026-03-02 17:37:32 Re: [PATCH] Add PQgetThreadLock() to expose the Kerberos/Curl mutex
Previous Message Álvaro Herrera 2026-03-02 17:30:04 Re: [PATCH] psql: tab completion for ALTER ROLE ... IN DATABASE ...