Include partitioned tables for tab completion of VACUUM in psql
authorMichael Paquier <michael@paquier.xyz>
Thu, 30 Jul 2020 07:57:37 +0000 (16:57 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 30 Jul 2020 07:57:37 +0000 (16:57 +0900)
commitf1af75c5f2516ec5b20cfe4b3a474071a318ae1e
tree18aebd334a27b57bba0b5f3f25e5a30d6ca3b51d
parent903134fcc0ccd188803fdbc2b7c06b898749153a
Include partitioned tables for tab completion of VACUUM in psql

The relkinds that support indexing are the same as the ones supporting
VACUUM, so the code gets refactored a bit with the completion query used
for CLUSTER, but there is no change for CLUSTER in this commit.

Author: Justin Pryzby
Reviewed-by: Fujii Masao, Michael Paquier, Masahiko Sawada
Discussion: https://postgr.es/m/20200728170408.GI20393@telsasoft.com
src/bin/psql/tab-complete.c