Re: psql without password

From: "A(dot)Bhuvaneswaran" <bhuvan(at)symonds(dot)net>
To: Retzlaw Heinrich <hretzlaw(at)etm-ag(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: psql without password
Date: 2003-05-26 05:06:41
Message-ID: Pine.LNX.4.44.0305261035050.1254-100000@Bhuvan.bksys.co.in
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Nabil Sayegh 2003-05-26 11:55:35 Re: Altering table error
Previous Message Josh Berkus 2003-05-25 19:58:54 Re: Case Insensitive Searching?