Thread: pgsql: Add tab completion for ALTER USER/ROLE RESET

pgsql: Add tab completion for ALTER USER/ROLE RESET

From
Tomas Vondra
Date:
Add tab completion for ALTER USER/ROLE RESET

Currently tab completion for ALTER USER RESET shows a list of all
configuration parameters that may be set on a role, irrespectively of
which parameters are actually set. This patch improves tab completion to
offer only parameters that are set.

Author: Robins Tharakan
Reviewed-By: Tomas Vondra
Discussion: https://postgr.es/m/CAEP4nAzqiT6VbVC5r3nq5byLTnPzjniVGzEMpYcnAHQyNzEuaw%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c407d5426b877b41be87f9e679e321bb2c42e47d

Modified Files
--------------
src/bin/psql/tab-complete.in.c | 9 +++++++++
1 file changed, 9 insertions(+)