In the function cube_yyerror an output buffer of 256 bytes is allocated to be used for an error message that outputs some of the input buffer. I think the portion of the input buffer that is echod can potentially be longer than this.
pgsql-bugs by date:
Соглашаюсь с условиями обработки персональных данных