It's pretty hard to guess where your bug is sitting here with no code and no idea even what you've done to trigger it. At a guess there someplace you haven't detoasted a datum that had to be detoasted. But like I said that's just a guess.
pgsql-hackers by date:
Соглашаюсь с условиями обработки персональных данных