Re: Tab completion for CREATE TABLE ... AS

From: Jim Jones <jim(dot)jones(at)uni-muenster(dot)de>
To: Gilles Darold <gilles(at)darold(dot)net>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Tab completion for CREATE TABLE ... AS
Date: 2023-11-10 07:53:31
Message-ID: 45f1d0ac-05dd-4995-ae14-07bd947f3d99@uni-muenster.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi

On 02.11.23 17:27, Gilles Darold wrote:
> Hi,
>
>
> Look like the tab completion for CREATE TABLE ... AS is not proposed.
>
>
> gilles=# CREATE TABLE test
> (             OF            PARTITION OF
>
>  The attached patch fix that and also propose the further completion
> after the AS keyword.
>
>
> gilles=# CREATE TABLE test
> (             AS            OF            PARTITION OF
> gilles=# CREATE TABLE test AS
> SELECT  WITH
>
> Adding the patch to current commitfest.
>
>
> Best regards,
>

Thanks for the patch!
It applies and builds cleanly, and it works as expected

"AS" is suggested after "CREATE TABLE t":

postgres=# CREATE TABLE t <TAB><TAB>
(             AS            OF            PARTITION OF

--
Jim

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2023-11-10 07:55:20 Re: Synchronizing slots from primary to standby
Previous Message Peter Eisentraut 2023-11-10 07:38:21 Re: Remove MSVC scripts from the tree