]> granicus.if.org Git - postgresql/commit
Fix psql's tab completion for ALTER DATABASE ... SET TABLESPACE.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 20 Sep 2018 21:16:06 +0000 (17:16 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 20 Sep 2018 21:16:06 +0000 (17:16 -0400)
commita7c4dad1a770c1c4256aa87e01a85172e1549aad
treeb067696b52a26689f4a1b4bfcfab1edc4ed1473f
parent1dba1b61c2fbe0164453963d51e7b0f6c49d8fca
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
src/bin/psql/tab-complete.c