On Thu, Jul 30, 2020 at 02:16:04PM +0900, Masahiko Sawada wrote: > Yeah, that's the reason why I mentioned about toast tables. "VACUUM > <tab>" displays "pg_toast." but, "VACUUM pg_to<tab>" doesn't > complement anything.
So am I OK with this situation. The same is true as well for CLUSTER and TRUNCATE, and "pg_to" would get completion with the toast tables only if we begin to add RELKIND_TOASTVALUE to the queries. Note that the schema completions come from _complete_from_query() where we would need to be smarter regarding the filtering of pg_namespace rows and I have not looked how to do that, but I feel that it may not be that complicated. For now I have applied the proposed patch. -- Michael
signature.asc
Description: PGP signature