pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix psql's tab completion for ALTER DATABASE ... SET TABLESPACE.
Date: Thu, 20 Sep 2018 21:21:20 +0000
Message-ID: <E1g36O0-0006OH-Kh@gemulon.postgresql.org> (raw)

Fix psql's tab completion for ALTER DATABASE ... SET TABLESPACE.

We have the infrastructure to offer a list of tablespace names, but
it wasn't being used here; instead you got "FROM", "CURRENT", and "TO"
which aren't actually legal in this syntax.

Dagfinn Ilmari Mannsåker, reviewed by Arthur Zakirov

Discussion: https://postgr.es/m/d8jo9djvm7h.fsf@dalvik.ping.uio.no

Branch
------
master

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

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



Message-ID: <E1g36O0-0006OH-Kh@gemulon.postgresql.org>
Permalink:  ../E1g36O0-0006OH-Kh@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1g36O0-0006OH-Kh@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Fix psql's tab completion for ALTER DATABASE ... SET TABLESPACE.
  In-Reply-To: <E1g36O0-0006OH-Kh@gemulon.postgresql.org>
  References: <E1g36O0-0006OH-Kh@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