From 83a6e85100a173124396f8d4ac29ff170319f0a4 Mon Sep 17 00:00:00 2001 From: "houzj.fnst" Date: Fri, 27 May 2022 15:24:52 +0800 Subject: [PATCH] language fixes from Justin --- doc/src/sgml/catalogs.sgml | 6 +++--- src/backend/catalog/pg_publication.c | 2 +- src/include/catalog/pg_proc.dat | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/src/sgml/catalogs.sgml b/doc/src/sgml/catalogs.sgml index c00c93d..9808180 100644 --- a/doc/src/sgml/catalogs.sgml +++ b/doc/src/sgml/catalogs.sgml @@ -9701,7 +9701,7 @@ SCRAM-SHA-256$<iteration count>:&l pg_publication_tables - publications and information of their associated tables + publications and information about their associated tables @@ -11645,7 +11645,7 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx The view pg_publication_tables provides - information about the mapping between publications and information of + information about the mapping between publications and information about tables they contain. Unlike the underlying catalog pg_publication_rel, this view expands publications defined as FOR ALL TABLES @@ -11705,7 +11705,7 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx Names of table columns included in the publication. This contains all - the columns of the table when the user didn't specify the column list + the columns of the table when the user didn't specify a column list for the table. diff --git a/src/backend/catalog/pg_publication.c b/src/backend/catalog/pg_publication.c index 8c7fca6..2f706f6 100644 --- a/src/backend/catalog/pg_publication.c +++ b/src/backend/catalog/pg_publication.c @@ -1077,7 +1077,7 @@ get_publication_name(Oid pubid, bool missing_ok) } /* - * Returns information of tables in a publication. + * Returns information about tables in a publication. */ Datum pg_get_publication_tables(PG_FUNCTION_ARGS) diff --git a/src/include/catalog/pg_proc.dat b/src/include/catalog/pg_proc.dat index 87aa571..86f1329 100644 --- a/src/include/catalog/pg_proc.dat +++ b/src/include/catalog/pg_proc.dat @@ -11673,7 +11673,7 @@ prosrc => 'pg_show_replication_origin_status' }, # publications -{ oid => '6119', descr => 'get information of tables in a publication', +{ oid => '6119', descr => 'get information about tables in a publication', proname => 'pg_get_publication_tables', prorows => '1000', proretset => 't', provolatile => 's', prorettype => 'record', proargtypes => 'text', proallargtypes => '{text,oid,int2vector,pg_node_tree}', proargmodes => '{i,o,o,o}', -- 2.7.2.windows.1