Fix tab-completion after commit 790bf615ddba
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 30 Sep 2022 10:53:31 +0000 (12:53 +0200)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 30 Sep 2022 10:53:31 +0000 (12:53 +0200)
commitd8e6ae9f38984ca16dc0e18924cc26568bb75960
tree10647dd141fb297ef785eaea4451bbe41efe13aa
parenta613474411e690947fbf869ef519da13a35d993d
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.fnst@fujitsu.com>
Reviewed-by: Peter Smith <smithpb2250@gmail.com>
Discussion: https://postgr.es/m/OSZPR01MB6310FCE8609185A56344EED2FD559@OSZPR01MB6310.jpnprd01.prod.outlook.com
src/backend/replication/logical/tablesync.c
src/bin/psql/tab-complete.c
src/test/subscription/t/031_column_list.pl