When i connect to haproxy balancer and try execute every queries psql tell me:
server closed the connection unexpectedly
This probably means the server terminated abnormally
before or while processing the request.
The connection to the server was lost. Attempting reset: Succeeded.
I repeat this command and now it works, but why?
When i use them direct on current base it works without errors, and reserve server got it