Re: Tab completion for CREATE TABLE ... AS - Mailing list pgsql-hackers

From Jim Jones
Subject Re: Tab completion for CREATE TABLE ... AS
Date
Msg-id 45f1d0ac-05dd-4995-ae14-07bd947f3d99@uni-muenster.de
Whole thread Raw
In response to Tab completion for CREATE TABLE ... AS  (Gilles Darold <gilles@darold.net>)
List 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




pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Remove MSVC scripts from the tree
Next
From: Amit Kapila
Date:
Subject: Re: Synchronizing slots from primary to standby