Add tab completion for ALTER DATABASE RESET

Tomas Vondra <tomas.vondra@postgresql.org>

Commit: 9df8727c5067916580f82da8b249136391de8544
Author: Tomas Vondra <tomas.vondra@postgresql.org>
Date: 2025-02-17T17:12:15Z
Releases: 18.0
Add tab completion for ALTER DATABASE RESET

Currently tab completion for ALTER DATABASE RESET shows a list of all
configuration parameters that may be set on a database, 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 +19 −1

Discussion