PG-Ping PG-Ping performs a continuous ping on each database the script finds. The ping performs a 'SELECT 1' so is not actually querying any data. PG-Ping is useful for testing a connection to a remote database similar to the regular ping command.