Healthcheck for Docker or Kubernetes
You can use command pg_isready
for healthcheck container before bring up
Helpful SQL for working with PostgreSQL
If you want to detect location of configuration file apply for postgres, use this querry
Delete and close all connection for specify database, use for delete or truncate database
Show running query
Kill running query
Kill idle query