[Postgres] write: broken pipe

This is probably just a connection timeout. If you configure your Postgres client to reconnect, or possibly send a heartbeat, this problem should go away.