pgsql: Doc: avoid using pg_get_publication_tables() in an example.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Doc: avoid using pg_get_publication_tables() in an example.
Date: 2023-04-10 16:22:17
Message-ID: E1pluHY-002OJT-8B@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Doc: avoid using pg_get_publication_tables() in an example.

pg_get_publication_tables() is undocumented because it's only meant
as infrastructure for the pg_publication_tables system view.
That being the case, we should use the view not the bare function
in this sample query.

Shi Yu

Discussion: https://postgr.es/m/OSZPR01MB63107E83D07FEDEEABD83A23FD949@OSZPR01MB6310.jpnprd01.prod.outlook.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/26f36fe844880ff68dc28493bba9aced5aad0034

Modified Files
--------------
doc/src/sgml/ref/create_subscription.sgml | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Aleksander Alekseev 2023-04-10 16:44:54 Re: pgsql: psql: add an optional execution-count limit to \watch.
Previous Message Tom Lane 2023-04-10 15:09:41 Re: pgsql: psql: add an optional execution-count limit to \watch.