Include partitioned tables for tab completion of VACUUM in psql

Michael Paquier <michael@paquier.xyz>

Commit: f1af75c5f2516ec5b20cfe4b3a474071a318ae1e
Author: Michael Paquier <michael@paquier.xyz>
Date: 2020-07-30T07:57:37Z
Releases: 14.0
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

Files

PathChange+/−
src/bin/psql/tab-complete.c modified +11 −5

Discussion