Improving Django's default pagination performance

from blog Applied Cartography, | ↗ original
Yesterday, I was trying to set a unique constraint for comments in Buttondown to prevent accidental double-commenting, and I ran into a problem that I hadn't seen before: index row size 2816 exceeds btree version 4 maximum 2704 for index "emails_comment_email_id_subscriber_id_text_0542cca9_uniq" DETAIL: Index row references tuple (165,7) in...