pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tomas Vondra <tomas.vondra@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add tab completion for ALTER DATABASE RESET
Date: Mon, 17 Feb 2025 17:31:26 +0000
Message-ID: <E1tk4xq-007eL7-Bd@gemulon.postgresql.org> (raw)

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/9df8727c5067916580f82da8b249136391de8544

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



Message-ID: <E1tk4xq-007eL7-Bd@gemulon.postgresql.org>
Permalink:  ../E1tk4xq-007eL7-Bd@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1tk4xq-007eL7-Bd@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tomas.vondra@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add tab completion for ALTER DATABASE RESET
  In-Reply-To: <E1tk4xq-007eL7-Bd@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox