Is Postgres good for long text?

I designed a corporate website with Django and Postgres. I made a blog section for him. I am uploading the contents that I wrote in WordPress to the blog of the new site. But I get an error

OperationalError at /en/admin/blog_app/blog/add/

index row size 3144 exceeds btree version 4 maximum 2704 for index "blog_text_key" DETAIL: Index row references tuple (24,1) in relation "blog". HINT: Values larger than 1/3 of a buffer page cannot be indexed. Consider a function index of an MD5 hash of the value, or use full text indexing.

I researched about this error and found out that the WordPress content is too big for the Postgres database.

What is your suggestion? Should I change the database? Or can the problem be solved? Thank you for your guidance.

Back to Top