aboutsummaryrefslogtreecommitdiff
path: root/src/backend/replication/logical/tablesync.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2022-09-30 12:53:31 +0200
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2022-09-30 12:53:31 +0200
commit69298db8e1a5a7afcfeea32daf71e713a109ef93 (patch)
tree9677e0a04a0ee49ca64a9e72436b98b6cf34df73 /src/backend/replication/logical/tablesync.c
parent51fd7cdfd07d49223c82f8bbdf37866c81c62908 (diff)
downloadpostgresql-69298db8e1a5a7afcfeea32daf71e713a109ef93.tar.gz
postgresql-69298db8e1a5a7afcfeea32daf71e713a109ef93.zip
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
Diffstat (limited to 'src/backend/replication/logical/tablesync.c')
-rw-r--r--src/backend/replication/logical/tablesync.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/replication/logical/tablesync.c b/src/backend/replication/logical/tablesync.c
index 9e52fc401cc..b4a7b4b7f6e 100644
--- a/src/backend/replication/logical/tablesync.c
+++ b/src/backend/replication/logical/tablesync.c
@@ -978,8 +978,8 @@ fetch_remote_table_info(char *nspname, char *relname,
*
* 2) one of the subscribed publications has puballtables set to true
*
- * 3) one of the subscribed publications is declared as ALL TABLES IN
- * SCHEMA that includes this relation
+ * 3) one of the subscribed publications is declared as TABLES IN SCHEMA
+ * that includes this relation
*/
if (walrcv_server_version(LogRepWorkerWalRcvConn) >= 150000)
{