How to configure psql PostgreSQL client on a production environment to limit the downtime resulting from human mistakes

During systems maintenance, it is often required to conduct working on dev, test, preprod and prod systems. To avoid accidental mistakes leading to downtime it is worth to give a clear warning to operators logging on and working on prods environments. This post is short, for many of you probably obvious (hopefuly), others probably planned […]