pgsql: Fix tab-completion after commit 790bf615ddba

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix tab-completion after commit 790bf615ddba
Date: 2022-09-30 10:55:53
Message-ID: E1oeDgO-000H8r-Ca@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix tab-completion after commit 790bf615ddba

I (Álvaro) broke tab-completion for GRANT .. ALL TABLES IN SCHEMA while
removing ALL from the publication syntax for schemas in the
aforementioned commit. I also missed to update a bunch of
tab-completion rules for ALTER/CREATE PUBLICATION that match each
individual piece of ALL TABLES IN SCHEMA. Repair those bugs.

While fixing up that commit, update a couple of outdated comments
related to the same change.

Backpatch to 15.

Author: Shi yu <shiy(dot)fnst(at)fujitsu(dot)com>
Reviewed-by: Peter Smith <smithpb2250(at)gmail(dot)com>
Discussion: https://postgr.es/m/OSZPR01MB6310FCE8609185A56344EED2FD559@OSZPR01MB6310.jpnprd01.prod.outlook.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/69298db8e1a5a7afcfeea32daf71e713a109ef93

Modified Files
--------------
src/backend/replication/logical/tablesync.c | 4 ++--
src/bin/psql/tab-complete.c | 14 ++++++++------
src/test/subscription/t/031_column_list.pl | 4 ++--
3 files changed, 12 insertions(+), 10 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2022-09-30 14:26:53 pgsql: Adjust PQsslAttributeNames() to match PQsslAttribute().
Previous Message Daniel Gustafsson 2022-09-30 10:20:25 pgsql: doc: Fix PQsslAttribute docs for compression