Re: [PATCH] DROP tab completion

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: [PATCH] DROP tab completion
Дата
Msg-id YabY21Aa52x/iUMI@paquier.xyz
обсуждение исходный текст
Ответ на Re: [PATCH] DROP tab completion  (Asif Rehman <asifr.rehman@gmail.com>)
Список pgsql-hackers
On Tue, Nov 30, 2021 at 03:17:07PM +0000, Asif Rehman wrote:
> The patch applies cleanly and the functionality seems to work well. (master e7122548a3)
>
> The new status of this patch is: Ready for Committer

+   else if (Matches("DROP", "MATERIALIZED", "VIEW", MatchAny))
+       COMPLETE_WITH("CASCADE", "RESTRICT");
[...]
+   else if (Matches("DROP", "OWNED", "BY", MatchAny))
+       COMPLETE_WITH("CASCADE", "RESTRICT");
This stuff is gathered around line 3284 in tab-complete.c as of HEAD
at 538724f, but I think that you have done things right as there are
already sections for those commands and they have multiple keywords.
So, applied.  Thanks!
--
Michael

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Greg Nancarrow
Дата:
Сообщение: Re: [Proposal] Fully WAL logged CREATE DATABASE - No Checkpoints
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: row filtering for logical replication