@@ -697,12 +697,12 @@ UPDATE testpub_tbl6 SET a = 1;
697697CREATE TABLE testpub_tbl7 (a int primary key, b text, c text);
698698ALTER PUBLICATION testpub_fortable ADD TABLE testpub_tbl7 (a, b);
699699\d+ testpub_tbl7
700- Table "public.testpub_tbl7"
701- Column | Type | Collation | Nullable | Default | Storage | Stats target | Description
702- --------+---------+-----------+----------+---------+----------+--------------+-------------
703- a | integer | | not null | | plain | |
704- b | text | | | | extended | |
705- c | text | | | | extended | |
700+ Table "public.testpub_tbl7"
701+ Column | Type | Collation | Nullable | Default | Storage | Toaster | Stats target | Description
702+ --------+---------+-----------+----------+---------+----------+------------+------------ --+-------------
703+ a | integer | | not null | | plain | | |
704+ b | text | | | | extended | deftoaster | |
705+ c | text | | | | extended | deftoaster | |
706706Indexes:
707707 "testpub_tbl7_pkey" PRIMARY KEY, btree (a)
708708Publications:
@@ -711,12 +711,12 @@ Publications:
711711-- ok: the column list is the same, we should skip this table (or at least not fail)
712712ALTER PUBLICATION testpub_fortable SET TABLE testpub_tbl7 (a, b);
713713\d+ testpub_tbl7
714- Table "public.testpub_tbl7"
715- Column | Type | Collation | Nullable | Default | Storage | Stats target | Description
716- --------+---------+-----------+----------+---------+----------+--------------+-------------
717- a | integer | | not null | | plain | |
718- b | text | | | | extended | |
719- c | text | | | | extended | |
714+ Table "public.testpub_tbl7"
715+ Column | Type | Collation | Nullable | Default | Storage | Toaster | Stats target | Description
716+ --------+---------+-----------+----------+---------+----------+------------+------------ --+-------------
717+ a | integer | | not null | | plain | | |
718+ b | text | | | | extended | deftoaster | |
719+ c | text | | | | extended | deftoaster | |
720720Indexes:
721721 "testpub_tbl7_pkey" PRIMARY KEY, btree (a)
722722Publications:
@@ -725,12 +725,12 @@ Publications:
725725-- ok: the column list changes, make sure the catalog gets updated
726726ALTER PUBLICATION testpub_fortable SET TABLE testpub_tbl7 (a, c);
727727\d+ testpub_tbl7
728- Table "public.testpub_tbl7"
729- Column | Type | Collation | Nullable | Default | Storage | Stats target | Description
730- --------+---------+-----------+----------+---------+----------+--------------+-------------
731- a | integer | | not null | | plain | |
732- b | text | | | | extended | |
733- c | text | | | | extended | |
728+ Table "public.testpub_tbl7"
729+ Column | Type | Collation | Nullable | Default | Storage | Toaster | Stats target | Description
730+ --------+---------+-----------+----------+---------+----------+------------+------------ --+-------------
731+ a | integer | | not null | | plain | | |
732+ b | text | | | | extended | deftoaster | |
733+ c | text | | | | extended | deftoaster | |
734734Indexes:
735735 "testpub_tbl7_pkey" PRIMARY KEY, btree (a)
736736Publications:
@@ -829,12 +829,12 @@ Tables:
829829 "public.testpub_tbl_both_filters" (a, c) WHERE (c <> 1)
830830
831831\d+ testpub_tbl_both_filters
832- Table "public.testpub_tbl_both_filters"
833- Column | Type | Collation | Nullable | Default | Storage | Stats target | Description
834- --------+---------+-----------+----------+---------+---------+--------------+-------------
835- a | integer | | not null | | plain | |
836- b | integer | | | | plain | |
837- c | integer | | not null | | plain | |
832+ Table "public.testpub_tbl_both_filters"
833+ Column | Type | Collation | Nullable | Default | Storage | Toaster | Stats target | Description
834+ --------+---------+-----------+----------+---------+---------+---------+--------- -----+-------------
835+ a | integer | | not null | | plain | | |
836+ b | integer | | | | plain | | |
837+ c | integer | | not null | | plain | | |
838838Indexes:
839839 "testpub_tbl_both_filters_pkey" PRIMARY KEY, btree (a, c) REPLICA IDENTITY
840840Publications:
0 commit comments