fix: regression that makes fts not work on domain types based on tsvector

This commit is contained in:
Laurence Isla
2025-06-16 16:53:29 +00:00
parent 1879c813c8
commit a2892ab1dd
8 changed files with 55 additions and 14 deletions
+9 -1
View File
@@ -3757,9 +3757,17 @@ create table "Surr_Gen_Default_Upsert" (
extra text
);
create domain tsvector_not_null as tsvector
constraint "tsvector is required" check (value is not null);
create domain tsvector_not_empty as tsvector_not_null
constraint "tsvector is required and not empty" check (value <> '');
create table tsearch_to_tsvector (
text_search text,
jsonb_search jsonb
jsonb_search jsonb,
text_search_domain tsvector_not_null default '',
text_search_rec_domain tsvector_not_empty default '.'
);
create function test.get_tsearch_to_tsvector() returns setof test.tsearch_to_tsvector AS $$