Re: psql without password

Поиск
Список
Период
Сортировка
От A.Bhuvaneswaran
Тема Re: psql without password
Дата
Msg-id Pine.LNX.4.44.0305261035050.1254-100000@Bhuvan.bksys.co.in
обсуждение исходный текст
Ответ на psql without password  ("Retzlaw Heinrich" <hretzlaw@etm-ag.com>)
Список 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 по дате отправления:

Предыдущее
От: Louis Foucart
Дата:
Сообщение: parse error when executing a simple plpgsql function
Следующее
От: Nabil Sayegh
Дата:
Сообщение: Re: Altering table error