Minor fixes for psql tab completion.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 12 Sep 2018 19:24:56 +0000 (15:24 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 12 Sep 2018 19:25:12 +0000 (15:25 -0400)
commit7046d30246057b65dd7ad735fd89058684e782cd
treec416f2dc5874bbe6e91901835f03381402085d18
parentb7f6bcbffcc0b41d783c0c9c61766428159969ff
Minor fixes for psql tab completion.

* Include partitioned tables in what's offered after ANALYZE.

* Include toast_tuple_target in what's offered after ALTER TABLE ... SET|RESET.

* Include HASH in what's offered after PARTITION BY.

This is extracted from a larger patch; these bits seem like
uncontroversial bug fixes for v11 features, so back-patch them into v11.

Justin Pryzby

Discussion: https://postgr.es/m/20180529000623.GA21896@telsasoft.com
src/bin/psql/tab-complete.c