Re: Requiring pass and database psql shell command

From: James Keener <jim(at)jimkeener(dot)com>
To: Łukasz Jarych <jaryszek(at)gmail(dot)com>,pgsql-general(at)postgresql(dot)org
Subject: Re: Requiring pass and database psql shell command
Date: 2018-03-05 13:33:18
Message-ID: 88C5B00D-5610-4D51-8210-FF40C1328A67@jimkeener.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Well, it's not a problem, it's the way it's designed and it's a sensible design. Check https://www.postgresql.org/docs/9.3/static/libpq-envars.html for more info on doing what you want.

On March 5, 2018 7:55:46 AM EST, "Łukasz Jarych" <jaryszek(at)gmail(dot)com> wrote:
>Hi Guys,
>
>do you have also problem that every time you have to log into your
>database
>using shell and psql?
>
>I have to write over and over localhost, username, password...how to
>force
>shell to remember this?
>
>Best,
>Jacek

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2018-03-05 13:42:15 Re: psql variables in the DO command
Previous Message Pavel Luzanov 2018-03-05 13:13:16 psql variables in the DO command