Commit 833b7b3
committed
postgres: Add replication support for tsvector
This CL "allows" snapshot/replication to occur for postgres `tsvector`
types, but we intentionally throw away the data (and store NULL). This
is because Readyset has no intention of supporting `tsvector` data
types as they will never be a good candidate for caching, at least not
for a very long time.
Discarding the data allows us to import the rest of the table's data,
which can be used for proper cached queries in Readyset.
Fixes: REA-5734
Release-Note-Core: Support replication of postgres `tsvector` data
types. Readyset interntionally discards the data as we will not
support tsvector queries in the product.
Change-Id: I28f209a96939f1cc58fd616b5cd5e07d8c0ddb23
Reviewed-on: https://gerrit.readyset.name/c/readyset/+/9511
Tested-by: Buildkite CI
Reviewed-by: Michael Zink <michael.z@readyset.io>1 parent 122c386 commit 833b7b3
File tree
3 files changed
+33
-0
lines changed- logictests/replicated/psql
- readyset-data/src
- replicators/src/postgres_connector
3 files changed
+33
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2205 | 2205 | | |
2206 | 2206 | | |
2207 | 2207 | | |
| 2208 | + | |
| 2209 | + | |
2208 | 2210 | | |
2209 | 2211 | | |
2210 | 2212 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
627 | 627 | | |
628 | 628 | | |
629 | 629 | | |
| 630 | + | |
630 | 631 | | |
631 | 632 | | |
632 | 633 | | |
| |||
847 | 848 | | |
848 | 849 | | |
849 | 850 | | |
| 851 | + | |
| 852 | + | |
850 | 853 | | |
851 | 854 | | |
852 | 855 | | |
| |||
0 commit comments