Cedric BUSCHINI <cbuschini@xxxxxxxxx> writes: > I have a "weird" fatal line in logs: > FATAL: invalid frontend message type 48 48 == ASCII '0', so I'm betting that this represents the backend thinking that a new message starts in the middle of some text. In other words, most likely the client sent a malformed message. You need to figure out exactly which client is causing it --- enabling log_connections and adding ID info to log_line_prefix may help. regards, tom lane