Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add collection, too long text produces server error #174

Open
pyfection opened this issue May 24, 2019 · 0 comments
Open

Add collection, too long text produces server error #174

pyfection opened this issue May 24, 2019 · 0 comments
Assignees
Labels
Milestone

Comments

@pyfection
Copy link
Owner

psycopg2.OperationalError: index row size 3712 exceeds maximum 2712 for index "collection_collection_title_text_type_id_a2f08220_uniq"
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.

django.db.utils.OperationalError: index row size 3712 exceeds maximum 2712 for index "collection_collection_title_text_type_id_a2f08220_uniq"
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.

This is an example text which is long enough to cause the error:

Uns óidn is de zaid zum ge bštimd
Via a bladl drógn fom vind
géd's zum uašprung zruk óis kind
Ven as bluad in deine ódan gfriad
Via dei heaz afhead zum šlógn
un du afi zu de engal fliagsd
Ná hób koa ángsd un lás di oafáh drógn
Vai es gibd vós náh dem lébm
du veasd šo ségn

Amói ségn ma uns vida
Amói šau i aa fo obm zua
Af meine óidn dóg leg i mi dánknd nida
un máh fia óle zaitn meine augn zua

Óis vós blaibd is de erinarung
un še lángsam vead da glár, das nix mea is via's vár
Ná soi de hofnung af a vidaséng
ma de gráfd in mein heaz šlóg legn, um vaida zum lébm

Amói ségn ma uns vida
Amói šau i aa fo obm zua
Af meine óidn dóg leg i mi dánknd nida
un máh fia óle zaitn meine aung zua

A liahd sui da laihdn bis in de evigkaid
Zua erinarung án de lébmszaid

Amói ségn ma uns vida
Amói šau i aa fo obm zua
Af meine óidn dóg leg i mi dánknd nida
un máh fia óle zaitn meine augn zua
Af meine óidn dóg leg i mi dánknd nida
un máh fia óle zaitn meine augn zua

@pyfection pyfection added the bug label May 24, 2019
@pyfection pyfection added this to the Collection milestone May 24, 2019
@pyfection pyfection self-assigned this May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant