We deployment stolon on k8s, use the following script to check if the database ready
until psql -U xx -h xx -d xx -p xx -c ‘\q’; do
but after the script pass when we run some other psql command,it may failed.
we though it because not all the proxy are ready when the until script passed
Have a good solution about it?