Tab completion for CREATE TABLE ... AS

Gilles DAROLD <gilles@darold.net>

From: Gilles Darold <gilles@darold.net>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-11-02T16:27:02Z
Lists: pgsql-hackers

Attachments

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/

Commits

  1. psql: Add some completion support for CREATE TABLE .. AS