Hello all,
Based on the discussion, I have updated the patch to handle the RESET form
correctly without modifying psql’s tab-completion APIs.
Both the current database connection and the parsed input tokens are
already available via pset.db and the word tokens.The new patch extracts:
-
th
Hi BharatDB,
On Tue, Nov 25, 2025 at 5:15 PM BharatDB wrote:
> Hi Ian,
>
> +1 for the patch,LGTM
>
> But after applying the patch i can be able to apply all the results
> except the reset options user variables
>
> postgres=# alter role bob in DATABASE postgres reset ALL
>
> also i cross verifie
Hi Ian,
+1 for the patch,LGTM
But after applying the patch i can be able to apply all the results
except the reset options user variables
postgres=#
postgres=# alter role bob
BYPASSRLS CREATEROLE INHERIT NOCREATEDB
NOLOGIN PASSWORDR
Ian Lawrence Barwick writes:
> Hi
>
> I found myself needing to work with ALTER ROLE ... IN DATABASE ... recently
> and was annoyed by the lack of tab completion for this, so patch attached.
A noble goal, but unfortunately th RESET form can't work properly due to
limitations of the tab completio
On Fri, Nov 21, 2025 at 1:25 PM Ian Lawrence Barwick
wrote:
> Hi
>
> I found myself needing to work with ALTER ROLE ... IN DATABASE ... recently
> and was annoyed by the lack of tab completion for this, so patch attached.
>
>
> Regards
>
> Ian Barwick
>
>
HI, I've reviewed the patch and did simpl
Hi
I found myself needing to work with ALTER ROLE ... IN DATABASE ... recently
and was annoyed by the lack of tab completion for this, so patch attached.
Regards
Ian Barwick
From de1cb4cb546b9cfac280c44aea2cf112a85bc7e9 Mon Sep 17 00:00:00 2001
From: Ian Barwick
Date: Fri, 21 Nov 2025 11:47:26