From a79ed1851027de36510d50c88d11a1537ccccb97 Mon Sep 17 00:00:00 2001 From: Sergey Koposov Date: Thu, 7 Jul 2022 18:57:50 +0100 Subject: [PATCH] Update README.md --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 8915f4c..b00f37e 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,14 @@ Throughout this readme, I'll assume that the .pgpass file ( https://www.postgres has been created with the login/password details for Postgresql. If that is not the case, all of the commands given above will also need user='....' and password='...' options +## Connection information + +Most of the sqlutilpy commands require hostname, database name, user etc. +If you don't want to always type it, you can use standard PostgreSQL environment variables +like PGPORT, PGDATABASE, PGUSER, PGHOST for the port, database name, user name and hostname +of the connection. + + ## Querying the database and retrieving the results ``` import sqlutilpy