mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +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.
|
defined) for each publication.
|
||||||
<programlisting><![CDATA[
|
<programlisting><![CDATA[
|
||||||
/* pub # */ \dRp+
|
/* pub # */ \dRp+
|
||||||
Publication p1
|
Publication p1
|
||||||
Owner | All tables | Inserts | Updates | Deletes | Truncates | Via root
|
Owner | All tables | Inserts | Updates | Deletes | Truncates | Generated columns | Via root
|
||||||
----------+------------+---------+---------+---------+-----------+----------
|
----------+------------+---------+---------+---------+-----------+-------------------+----------
|
||||||
postgres | f | t | t | t | t | f
|
postgres | f | t | t | t | t | none | f
|
||||||
Tables:
|
Tables:
|
||||||
"public.t1" WHERE ((a > 5) AND (c = 'NSW'::text))
|
"public.t1" WHERE ((a > 5) AND (c = 'NSW'::text))
|
||||||
|
|
||||||
Publication p2
|
Publication p2
|
||||||
Owner | All tables | Inserts | Updates | Deletes | Truncates | Via root
|
Owner | All tables | Inserts | Updates | Deletes | Truncates | Generated columns | Via root
|
||||||
----------+------------+---------+---------+---------+-----------+----------
|
----------+------------+---------+---------+---------+-----------+-------------------+----------
|
||||||
postgres | f | t | t | t | t | f
|
postgres | f | t | t | t | t | none | f
|
||||||
Tables:
|
Tables:
|
||||||
"public.t1"
|
"public.t1"
|
||||||
"public.t2" WHERE (e = 99)
|
"public.t2" WHERE (e = 99)
|
||||||
|
|
||||||
Publication p3
|
Publication p3
|
||||||
Owner | All tables | Inserts | Updates | Deletes | Truncates | Via root
|
Owner | All tables | Inserts | Updates | Deletes | Truncates | Generated columns | Via root
|
||||||
----------+------------+---------+---------+---------+-----------+----------
|
----------+------------+---------+---------+---------+-----------+-------------------+----------
|
||||||
postgres | f | t | t | t | t | f
|
postgres | f | t | t | t | t | none | f
|
||||||
Tables:
|
Tables:
|
||||||
"public.t2" WHERE (d = 10)
|
"public.t2" WHERE (d = 10)
|
||||||
"public.t3" WHERE (g = 10)
|
"public.t3" WHERE (g = 10)
|
||||||
]]></programlisting></para>
|
]]></programlisting></para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
@ -1491,10 +1491,10 @@ Publications:
|
|||||||
for each publication.
|
for each publication.
|
||||||
<programlisting>
|
<programlisting>
|
||||||
/* pub # */ \dRp+
|
/* pub # */ \dRp+
|
||||||
Publication p1
|
Publication p1
|
||||||
Owner | All tables | Inserts | Updates | Deletes | Truncates | Via root
|
Owner | All tables | Inserts | Updates | Deletes | Truncates | Generated columns | Via root
|
||||||
----------+------------+---------+---------+---------+-----------+----------
|
----------+------------+---------+---------+---------+-----------+-------------------+----------
|
||||||
postgres | f | t | t | t | t | f
|
postgres | f | t | t | t | t | none | f
|
||||||
Tables:
|
Tables:
|
||||||
"public.t1" (id, a, b, d)
|
"public.t1" (id, a, b, d)
|
||||||
</programlisting></para>
|
</programlisting></para>
|
||||||
|
Reference in New Issue
Block a user