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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix psql's tab completion for ALTER DATABASE ... SET TABLESPACE.
Date: 2018-09-20 21:21:20
Message-ID: E1g36O0-0006OH-Kh@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2018-09-20 21:44:15 pgsql: Remove special handling for open() in initdb for Windows
Previous Message Tom Lane 2018-09-20 20:10:36 pgsql: Add a "return" statement to pacify perlcritic.