Fix some newly modified tab-complete changes - Mailing list pgsql-hackers

From shiy.fnst@fujitsu.com
Subject Fix some newly modified tab-complete changes
Date
Msg-id OSZPR01MB6310FCE8609185A56344EED2FD559@OSZPR01MB6310.jpnprd01.prod.outlook.com
Whole thread Raw
Responses Re: Fix some newly modified tab-complete changes
List pgsql-hackers
Hi hackers,

I saw a problem when using tab-complete for "GRANT", "TABLES IN SCHEMA" should
be "ALL TABLES IN SCHEMA" in the following case.

postgres=# grant all on
ALL FUNCTIONS IN SCHEMA   DATABASE                  FUNCTION                  PARAMETER                 SCHEMA
         TABLESPACE 
ALL PROCEDURES IN SCHEMA  DOMAIN                    information_schema.       PROCEDURE                 SEQUENCE
         tbl 
ALL ROUTINES IN SCHEMA    FOREIGN DATA WRAPPER      LANGUAGE                  public.                   TABLE
         TYPE 
ALL SEQUENCES IN SCHEMA   FOREIGN SERVER            LARGE OBJECT              ROUTINE                   TABLES IN
SCHEMA

I found that it is related to the recent commit 790bf615dd, and maybe it's
better to fix it. I also noticed that some comments should be modified according
to this new syntax. Attach a patch to fix them.

Regards,
Shi yu

Attachment

pgsql-hackers by date:

Previous
From: "孤傲小二~阿沐"
Date:
Subject: Questions about the patch of Add ON CONFLICT DO RETURN clause
Next
From: Peter Eisentraut
Date:
Subject: Re: kerberos/001_auth test fails on arm CPU darwin