Add tab completion for ALTER USER/ROLE RESET

Tomas Vondra <tomas.vondra@postgresql.org>

Commit: c407d5426b877b41be87f9e679e321bb2c42e47d
Author: Tomas Vondra <tomas.vondra@postgresql.org>
Date: 2025-02-17T17:12:15Z
Releases: 18.0
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

Files

PathChange+/−
src/bin/psql/tab-complete.in.c modified +9 −0

Discussion