An install of PostgreSQL comes with a number of utilities including the pg_isready command. This command can be used to check if the local PostgreSQL server is up, running, and ready to receive ...