Right haproxy backuend configuration

Hello! Can’t understand what haprpxy config is right, especially part with psql backend
Is this will be right ?

 backend psql
     option httpchk
     http-check expect status 200
     option pgsql-check user repluser
     default-server inter 3s fastinter 1s fall 2 rise 2 on-marked-down shutdown-sessions
     balance     roundrobin
         server kube2-worker1 check port 5432 backup
         server kube2-worker2 check port 5432