Re: psql without password - Mailing list pgsql-novice

From A.Bhuvaneswaran
Subject Re: psql without password
Date
Msg-id Pine.LNX.4.44.0305261035050.1254-100000@Bhuvan.bksys.co.in
Whole thread Raw
In response to psql without password  ("Retzlaw Heinrich" <hretzlaw@etm-ag.com>)
List pgsql-novice
> With the psql-version 7.1.0 it works fine. But with psql-version 7.2.1 I
> have to type the password again.
> I have several of this commands. So I have to type the password several
> times.
> What can I do to give the password in one command-line?

There are more than one ways (2 ways) to achieve this -:). Try any one of
the below:

1. Set the authetication method to trust in pg_hba.conf
2. Set PGPASSWORD environment variable

regards,
bhuvaneswaran


pgsql-novice by date:

Previous
From: Louis Foucart
Date:
Subject: parse error when executing a simple plpgsql function
Next
From: Nabil Sayegh
Date:
Subject: Re: Altering table error