@@ -727,15 +727,15 @@ CREATE SUBSCRIPTION
727
727
<programlisting>
728
728
test_sub=# SELECT * FROM t1;
729
729
a | b
730
- ---+------ -
730
+ -−-+-−-−-− -
731
731
1 | one
732
732
2 | two
733
733
3 | three
734
734
(3 rows)
735
735
736
736
test_sub=# SELECT * FROM t2;
737
737
c | d
738
- ---+-- -
738
+ -−-+-− -
739
739
1 | A
740
740
2 | B
741
741
3 | C
@@ -772,7 +772,7 @@ test_sub=# SELECT * FROM t2;
772
772
<programlisting>
773
773
test_sub=# SELECT * FROM t3;
774
774
e | f
775
- ---+---- -
775
+ -−-+-−-− -
776
776
1 | i
777
777
2 | ii
778
778
3 | iii
@@ -823,7 +823,7 @@ INSERT 0 3
823
823
<programlisting>
824
824
test_pub=# SELECT * FROM t1;
825
825
a | b
826
- ---+------ -
826
+ -−-+-−-−-− -
827
827
1 | one
828
828
2 | two
829
829
3 | three
@@ -834,7 +834,7 @@ test_pub=# SELECT * FROM t1;
834
834
835
835
test_pub=# SELECT * FROM t2;
836
836
c | d
837
- ---+-- -
837
+ -−-+-− -
838
838
1 | A
839
839
2 | B
840
840
3 | C
@@ -845,7 +845,7 @@ test_pub=# SELECT * FROM t2;
845
845
846
846
test_pub=# SELECT * FROM t3;
847
847
e | f
848
- ---+---- -
848
+ -−-+-−-− -
849
849
1 | i
850
850
2 | ii
851
851
3 | iii
@@ -904,7 +904,7 @@ test_pub=# SELECT * FROM t3;
904
904
<programlisting>
905
905
test_sub=# SELECT * FROM t1;
906
906
a | b
907
- ---+------ -
907
+ -−-+-−-−-− -
908
908
1 | one
909
909
2 | two
910
910
3 | three
@@ -915,15 +915,15 @@ test_sub=# SELECT * FROM t1;
915
915
916
916
test_sub=# SELECT * FROM t2;
917
917
c | d
918
- ---+-- -
918
+ -−-+-− -
919
919
1 | A
920
920
2 | B
921
921
3 | C
922
922
(3 rows)
923
923
924
924
test_sub=# SELECT * FROM t3;
925
925
e | f
926
- ---+---- -
926
+ -−-+-−-− -
927
927
1 | i
928
928
2 | ii
929
929
3 | iii
@@ -1419,22 +1419,22 @@ CREATE PUBLICATION
1419
1419
test_pub=# \dRp+
1420
1420
Publication p1
1421
1421
Owner | All tables | Inserts | Updates | Deletes | Truncates | Via root
1422
- ----------+------------+---------+---------+---------+-----------+----------
1422
+ -−-−-−-−-−+-−-−-−-−-−-−+-−-−-−-−-+-−-−-−-−-+-−-−-−-−-+-−-−-−-−-−-+-−-−-−-−-−
1423
1423
postgres | f | t | t | t | t | f
1424
1424
Tables:
1425
1425
"public.t1" WHERE ((a > 5) AND (c = 'NSW'::text))
1426
1426
1427
1427
Publication p2
1428
1428
Owner | All tables | Inserts | Updates | Deletes | Truncates | Via root
1429
- ----------+------------+---------+---------+---------+-----------+----------
1429
+ -−-−-−-−-−+-−-−-−-−-−-−+-−-−-−-−-+-−-−-−-−-+-−-−-−-−-+-−-−-−-−-−-+-−-−-−-−-−
1430
1430
postgres | f | t | t | t | t | f
1431
1431
Tables:
1432
1432
"public.t1"
1433
1433
"public.t2" WHERE (e = 99)
1434
1434
1435
1435
Publication p3
1436
1436
Owner | All tables | Inserts | Updates | Deletes | Truncates | Via root
1437
- ----------+------------+---------+---------+---------+-----------+----------
1437
+ -−-−-−-−-−+-−-−-−-−-−-−+-−-−-−-−-+-−-−-−-−-+-−-−-−-−-+-−-−-−-−-−-+-−-−-−-−-−
1438
1438
postgres | f | t | t | t | t | f
1439
1439
Tables:
1440
1440
"public.t2" WHERE (d = 10)
@@ -1481,7 +1481,7 @@ Tables:
1481
1481
test_pub=# \d t1
1482
1482
Table "public.t1"
1483
1483
Column | Type | Collation | Nullable | Default
1484
- --------+---------+-----------+----------+-------- -
1484
+ -−-−-−-−+-−-−-−-−-+-−-−-−-−-−-+-−-−-−-−-−+-−-−-−-− -
1485
1485
a | integer | | not null |
1486
1486
b | integer | | |
1487
1487
c | text | | not null |
@@ -1494,7 +1494,7 @@ Publications:
1494
1494
test_pub=# \d t2
1495
1495
Table "public.t2"
1496
1496
Column | Type | Collation | Nullable | Default
1497
- --------+---------+-----------+----------+-------- -
1497
+ -−-−-−-−+-−-−-−-−-+-−-−-−-−-−-+-−-−-−-−-−+-−-−-−-− -
1498
1498
d | integer | | not null |
1499
1499
e | integer | | |
1500
1500
f | integer | | |
@@ -1507,7 +1507,7 @@ Publications:
1507
1507
test_pub=# \d t3
1508
1508
Table "public.t3"
1509
1509
Column | Type | Collation | Nullable | Default
1510
- --------+---------+-----------+----------+-------- -
1510
+ -−-−-−-−+-−-−-−-−-+-−-−-−-−-−-+-−-−-−-−-−+-−-−-−-− -
1511
1511
g | integer | | not null |
1512
1512
h | integer | | |
1513
1513
i | integer | | |
@@ -1612,7 +1612,7 @@ INSERT 0 1
1612
1612
1613
1613
test_pub=# SELECT * FROM t1;
1614
1614
a | b | c
1615
- ---+-----+---- -
1615
+ -−-+-−-−-+-−-− -
1616
1616
2 | 102 | NSW
1617
1617
3 | 103 | QLD
1618
1618
4 | 104 | VIC
@@ -1626,7 +1626,7 @@ test_pub=# SELECT * FROM t1;
1626
1626
<programlisting>
1627
1627
test_sub=# SELECT * FROM t1;
1628
1628
a | b | c
1629
- ---+-----+---- -
1629
+ -−-+-−-−-+-−-− -
1630
1630
6 | 106 | NSW
1631
1631
9 | 109 | NSW
1632
1632
(2 rows)
@@ -1687,7 +1687,7 @@ UPDATE 1
1687
1687
1688
1688
test_pub=# SELECT * FROM t1;
1689
1689
a | b | c
1690
- ---+-----+---- -
1690
+ -−-+-−-−-+-−-− -
1691
1691
2 | 102 | NSW
1692
1692
3 | 103 | QLD
1693
1693
4 | 104 | VIC
@@ -1701,7 +1701,7 @@ test_pub=# SELECT * FROM t1;
1701
1701
<programlisting>
1702
1702
test_sub=# SELECT * FROM t1;
1703
1703
a | b | c
1704
- ---+-----+---- -
1704
+ -−-+-−-−-+-−-− -
1705
1705
9 | 109 | NSW
1706
1706
6 | 999 | NSW
1707
1707
(2 rows)
@@ -1750,7 +1750,7 @@ UPDATE 1
1750
1750
1751
1751
test_pub=# SELECT * FROM t1;
1752
1752
a | b | c
1753
- -----+-----+---- -
1753
+ -−-−-+-−-−-+-−-− -
1754
1754
3 | 103 | QLD
1755
1755
4 | 104 | VIC
1756
1756
5 | 105 | ACT
@@ -1764,7 +1764,7 @@ test_pub=# SELECT * FROM t1;
1764
1764
<programlisting>
1765
1765
test_sub=# SELECT * FROM t1;
1766
1766
a | b | c
1767
- -----+-----+---- -
1767
+ -−-−-+-−-−-+-−-− -
1768
1768
9 | 109 | NSW
1769
1769
6 | 999 | NSW
1770
1770
555 | 102 | NSW
@@ -1816,7 +1816,7 @@ UPDATE 1
1816
1816
1817
1817
test_pub=# SELECT * FROM t1;
1818
1818
a | b | c
1819
- -----+-----+---- -
1819
+ -−-−-+-−-−-+-−-− -
1820
1820
3 | 103 | QLD
1821
1821
4 | 104 | VIC
1822
1822
5 | 105 | ACT
@@ -1830,7 +1830,7 @@ test_pub=# SELECT * FROM t1;
1830
1830
<programlisting>
1831
1831
test_sub=# SELECT * FROM t1;
1832
1832
a | b | c
1833
- -----+-----+---- -
1833
+ -−-−-+-−-−-+-−-− -
1834
1834
6 | 999 | NSW
1835
1835
555 | 102 | NSW
1836
1836
(2 rows)
@@ -1962,7 +1962,7 @@ INSERT 0 3
1962
1962
1963
1963
test_pub=# SELECT * FROM parent ORDER BY a;
1964
1964
a
1965
- -- -
1965
+ -− -
1966
1966
2
1967
1967
3
1968
1968
4
@@ -1974,7 +1974,7 @@ test_pub=# SELECT * FROM parent ORDER BY a;
1974
1974
<programlisting>
1975
1975
test_sub=# SELECT * FROM parent ORDER BY a;
1976
1976
a
1977
- -- -
1977
+ -− -
1978
1978
2
1979
1979
3
1980
1980
4
@@ -2059,7 +2059,7 @@ INSERT 0 3
2059
2059
2060
2060
test_pub=# SELECT * FROM parent ORDER BY a;
2061
2061
a
2062
- -- -
2062
+ -− -
2063
2063
2
2064
2064
3
2065
2065
4
@@ -2071,7 +2071,7 @@ test_pub=# SELECT * FROM parent ORDER BY a;
2071
2071
<programlisting>
2072
2072
test_sub=# SELECT * FROM child ORDER BY a;
2073
2073
a
2074
- -- -
2074
+ -− -
2075
2075
5
2076
2076
6
2077
2077
7
@@ -2347,7 +2347,7 @@ CREATE PUBLICATION
2347
2347
test_pub=# \dRp+
2348
2348
Publication p1
2349
2349
Owner | All tables | Inserts | Updates | Deletes | Truncates | Via root
2350
- ----------+------------+---------+---------+---------+-----------+----------
2350
+ -−-−-−-−-−+-−-−-−-−-−-−+-−-−-−-−-+-−-−-−-−-+-−-−-−-−-+-−-−-−-−-−-+-−-−-−-−-−
2351
2351
postgres | f | t | t | t | t | f
2352
2352
Tables:
2353
2353
"public.t1" (id, a, b, d)
@@ -2374,7 +2374,7 @@ Tables:
2374
2374
test_pub=# \d t1
2375
2375
Table "public.t1"
2376
2376
Column | Type | Collation | Nullable | Default
2377
- --------+---------+-----------+----------+-------- -
2377
+ -−-−-−-−+-−-−-−-−-+-−-−-−-−-−-+-−-−-−-−-−+-−-−-−-− -
2378
2378
id | integer | | not null |
2379
2379
a | text | | |
2380
2380
b | text | | |
@@ -2447,7 +2447,7 @@ test_pub=# INSERT INTO t1 VALUES(3, 'a-3', 'b-3', 'c-3', 'd-3', 'e-3');
2447
2447
INSERT 0 1
2448
2448
test_pub=# SELECT * FROM t1 ORDER BY id;
2449
2449
id | a | b | c | d | e
2450
- ----+-----+-----+-----+-----+---- -
2450
+ -−-−+-−-−-+-−-−-+-−-−-+-−-−-+-−-− -
2451
2451
1 | a-1 | b-1 | c-1 | d-1 | e-1
2452
2452
2 | a-2 | b-2 | c-2 | d-2 | e-2
2453
2453
3 | a-3 | b-3 | c-3 | d-3 | e-3
@@ -2480,7 +2480,7 @@ test_pub=# SELECT * FROM t1 ORDER BY id;
2480
2480
<programlisting>
2481
2481
test_sub=# SELECT * FROM t1 ORDER BY id;
2482
2482
id | b | a | d
2483
- ----+-----+-----+---- -
2483
+ -−-−+-−-−-+-−-−-+-−-− -
2484
2484
1 | b-1 | a-1 | d-1
2485
2485
2 | b-2 | a-2 | d-2
2486
2486
3 | b-3 | a-3 | d-3
@@ -2641,7 +2641,7 @@ ________________________________________________________-->
2641
2641
<para>
2642
2642
The database schema and DDL commands are not replicated. The initial
2643
2643
schema can be copied by hand using <literal>pg_dump
2644
- -- schema-only</literal>. Subsequent schema changes would need to be kept
2644
+ -− schema-only</literal>. Subsequent schema changes would need to be kept
2645
2645
in sync manually. (Note, however, that there is no need for the schemas
2646
2646
to be absolutely the same on both sides.) Logical replication is robust
2647
2647
when schema definitions change in a live database: When the schema is
0 commit comments