By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE TABLE
INSERT 0 3
| id | length | ?column? |
|---|---|---|
| 1 | 6 | The fat rat ate a cat. |
| 2 | 4 | big but repetitive: bla bla bla bla bla bla bla bl ... |
| 3 | 34 | big and not repetitive: word1 word2 word3 word4 wo ... |
SELECT 3
ERROR: Row with this "id" exceeds ts_vector length: 3 CONTEXT: PL/pgSQL function inline_code_block line 15 at RAISE