Doc: avoid using pg_get_publication_tables() in an example.
commit26f36fe844880ff68dc28493bba9aced5aad0034
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 10 Apr 2023 16:22:10 +0000 (10 12:22 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 10 Apr 2023 16:22:10 +0000 (10 12:22 -0400)
tree3db7a871bec865bdc3d23aedebfb795d780585a0
parent6ff2e8cdd410f70057cfa6259ad395c1119aeb32
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
doc/src/sgml/ref/create_subscription.sgml