Re: psql: Add tab completion for ALTER USER RESET

2025-02-17 Thread Tomas Vondra
On 2/16/25 17:56, Tomas Vondra wrote: >... > > Thanks. These patches look fine to me. I'll get them committed. > I've pushed both patches. Thanks! -- Tomas Vondra

Re: psql: Add tab completion for ALTER USER RESET

2025-02-16 Thread Tomas Vondra
On 2/15/25 12:14, Robins Tharakan wrote: > Hi Tomas, > > Thanks for taking a look - apologies for the delay here. > > On Tue, 10 Dec 2024 at 09:09, Tomas Vondra > wrote: >> >> 1) Does it make sense to still show "ALL" when the query returns >> nothing? Not sure if we a

Re: psql: Add tab completion for ALTER USER RESET

2025-02-15 Thread Robins Tharakan
Hi Tomas, Thanks for taking a look - apologies for the delay here. On Tue, 10 Dec 2024 at 09:09, Tomas Vondra wrote: > > 1) Does it make sense to still show "ALL" when the query returns > nothing? Not sure if we already have a way to handle this. > +1 - "ALL" is pointless when there is nothing

Re: psql: Add tab completion for ALTER USER RESET

2024-12-09 Thread Tomas Vondra
Hi, On 11/29/24 09:42, Robins Tharakan wrote: > Hi, > > Please find attached a patch to help tab completion show only currently > set vars > during ALTER USER RESET. > > Currently tab completion provides a list of all vars which is only > partially helpful. > This patch allows tab completion to

psql: Add tab completion for ALTER USER RESET

2024-11-29 Thread Robins Tharakan
Hi, Please find attached a patch to help tab completion show only currently set vars during ALTER USER RESET. Currently tab completion provides a list of all vars which is only partially helpful. This patch allows tab completion to see which vars are currently set for the role and only show those