M
M
McMike2018-05-23 10:17:33
PostgreSQL
McMike, 2018-05-23 10:17:33

Why is the record not being inserted into the ltree field?

If the string is several thousand characters long, it is not inserted into an ltree field, although the formal limit has not yet been reached.
Has anyone come across? Are there any thoughts about this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Kuznetsov, 2018-05-23
@McMike

I will not duplicate the text from the site, your token must be less than 256 bytes, and the total length is less than 65 kb, while 2kb is advised. I suspect the advice is not in vain.
Speaking more to the point, the question is more about the overall size. Pay attention to the character sizes in utf8 encoding ( https://ru.wikipedia.org/wiki/UTF-8 ).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question