Stefan Sassenberg <stefan.sassenberg@gmx.de> writes:
> PANIK: ERRORDATA_STACK_SIZE exceeded
> server closed the connection unexpectedly
What LC_CTYPE and LC_MESSAGES settings are you using? We've seen
problems of this ilk when gettext() produces messages encoded in the
"wrong" encoding (ie, not what the database encoding is).
regards, tom lane