Re: Tab completion for CREATE TABLE ... AS

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Tab completion for CREATE TABLE ... AS
Дата
Msg-id ZVVmUDXhhnDwkPKq@paquier.xyz
обсуждение исходный текст
Ответ на Re: Tab completion for CREATE TABLE ... AS  (Gilles Darold <gilles@darold.net>)
Список pgsql-hackers
On Wed, Nov 15, 2023 at 05:26:58PM +0300, Gilles Darold wrote:
> Right, I don't know how I have missed the sql-createtableas page in the
> documentation.
>
> Patched v2 fixes the keyword list, I have also sorted by alphabetical order
> the CREATE TABLE completion (AS was at the end of the list).
>
> It has also been re-based on current master.

Fun.  It has failed to apply here.

Anyway, I can see that a comment update has been forgotten.  A second
thing is that it requires two more lines to add the query keywords for
the case where a CTAS has a list of column names.  I've added both
changes, and applied the patch on HEAD.  That's not all the patterns
possible, but this covers the most useful ones.
--
Michael

Вложения

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

Предыдущее
От: jian he
Дата:
Сообщение: Re: POC PATCH: copy from ... exceptions to: (was Re: VLDB Features)
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Remove MSVC scripts from the tree