"Sergey Burladyan" <eshkinkot@gmail.com> writes:
> seb=> select to_char(0, 'TMMON TMMon TMmon TMMONTH TMMonth TMDAY TMDay TMday
> TMDY TMDy TMdy');
> server closed the connection unexpectedly
Yeah, confirmed here. We'll try to have a fix in the upcoming releases
--- thanks for the report!
regards, tom lane