mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Doc: Fix logical replication examples.
The definition of \dRp+ was modified in commit 7054186c4e
. This patch
updates the column list and row filter examples to align with the revised
definition.
Author: Shlok Kyal <shlok.kyal.oss@gmail.com>
Reviewed by: Peter Smith <smithpb2250@gmail.com>
Backpatch-through: 18, where it was introduced
Discussion: https://postgr.es/m/CANhcyEUvqkSO6b9zi_fs_BBPEge5acj4mf8QKmq2TX-7axa7EQ@mail.gmail.com
This commit is contained in:
@ -1048,28 +1048,28 @@ HINT: To initiate replication, you must manually create the replication slot, e
|
||||
defined) for each publication.
|
||||
<programlisting><![CDATA[
|
||||
/* pub # */ \dRp+
|
||||
Publication p1
|
||||
Owner | All tables | Inserts | Updates | Deletes | Truncates | Via root
|
||||
----------+------------+---------+---------+---------+-----------+----------
|
||||
postgres | f | t | t | t | t | f
|
||||
Publication p1
|
||||
Owner | All tables | Inserts | Updates | Deletes | Truncates | Generated columns | Via root
|
||||
----------+------------+---------+---------+---------+-----------+-------------------+----------
|
||||
postgres | f | t | t | t | t | none | f
|
||||
Tables:
|
||||
"public.t1" WHERE ((a > 5) AND (c = 'NSW'::text))
|
||||
"public.t1" WHERE ((a > 5) AND (c = 'NSW'::text))
|
||||
|
||||
Publication p2
|
||||
Owner | All tables | Inserts | Updates | Deletes | Truncates | Via root
|
||||
----------+------------+---------+---------+---------+-----------+----------
|
||||
postgres | f | t | t | t | t | f
|
||||
Publication p2
|
||||
Owner | All tables | Inserts | Updates | Deletes | Truncates | Generated columns | Via root
|
||||
----------+------------+---------+---------+---------+-----------+-------------------+----------
|
||||
postgres | f | t | t | t | t | none | f
|
||||
Tables:
|
||||
"public.t1"
|
||||
"public.t2" WHERE (e = 99)
|
||||
"public.t1"
|
||||
"public.t2" WHERE (e = 99)
|
||||
|
||||
Publication p3
|
||||
Owner | All tables | Inserts | Updates | Deletes | Truncates | Via root
|
||||
----------+------------+---------+---------+---------+-----------+----------
|
||||
postgres | f | t | t | t | t | f
|
||||
Publication p3
|
||||
Owner | All tables | Inserts | Updates | Deletes | Truncates | Generated columns | Via root
|
||||
----------+------------+---------+---------+---------+-----------+-------------------+----------
|
||||
postgres | f | t | t | t | t | none | f
|
||||
Tables:
|
||||
"public.t2" WHERE (d = 10)
|
||||
"public.t3" WHERE (g = 10)
|
||||
"public.t2" WHERE (d = 10)
|
||||
"public.t3" WHERE (g = 10)
|
||||
]]></programlisting></para>
|
||||
|
||||
<para>
|
||||
@ -1491,10 +1491,10 @@ Publications:
|
||||
for each publication.
|
||||
<programlisting>
|
||||
/* pub # */ \dRp+
|
||||
Publication p1
|
||||
Owner | All tables | Inserts | Updates | Deletes | Truncates | Via root
|
||||
----------+------------+---------+---------+---------+-----------+----------
|
||||
postgres | f | t | t | t | t | f
|
||||
Publication p1
|
||||
Owner | All tables | Inserts | Updates | Deletes | Truncates | Generated columns | Via root
|
||||
----------+------------+---------+---------+---------+-----------+-------------------+----------
|
||||
postgres | f | t | t | t | t | none | f
|
||||
Tables:
|
||||
"public.t1" (id, a, b, d)
|
||||
</programlisting></para>
|
||||
|
Reference in New Issue
Block a user