pgsql: Fix psql's tab completion for ALTER DATABASE ... SETTABLESPACE. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix psql's tab completion for ALTER DATABASE ... SETTABLESPACE.
Date
Msg-id E1g36O0-0006OH-Kh@gemulon.postgresql.org
Whole thread Raw
List 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(+)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Add a "return" statement to pacify perlcritic.
Next
From: Michael Paquier
Date:
Subject: pgsql: Remove special handling for open() in initdb for Windows