]> granicus.if.org Git - postgresql/commit
Fix psql's tab completion for TABLE.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 20 Sep 2018 21:21:14 +0000 (17:21 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 20 Sep 2018 21:21:14 +0000 (17:21 -0400)
commitc9a8a401f169ec793b1a89b71b0340dd2cfe8bd7
tree3579e59e40ca279077b5cdac2b8b8621f1a053a3
parenta7c4dad1a770c1c4256aa87e01a85172e1549aad
Fix psql's tab completion for TABLE.

This should offer the same relation types that SELECT ... FROM would.
You can't select from an index for instance, so offering it here is
unhelpful.  Noted while testing ilmari's recent patch.
src/bin/psql/tab-complete.c