Tab completion for CREATE TABLE ... AS

From: Gilles Darold <gilles(at)darold(dot)net>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Tab completion for CREATE TABLE ... AS
Date: 2023-11-02 16:27:02
Message-ID: e462b251-99a7-4abc-aedc-214688742c80@darold.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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,

--
Gilles Darold
http://www.darold.net/

Attachment Content-Type Size
fix-create-as-completion-v1.patch text/x-patch 1.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Marko Tiikkaja 2023-11-02 16:33:50 Re: [HACKERS] Allow INSTEAD OF DELETE triggers to modify the tuple for RETURNING
Previous Message Nathan Bossart 2023-11-02 16:07:19 Re: Three commit tips