Re: connect to postgres from shell scripts

Поиск
Список
Период
Сортировка
От Chris Travers
Тема Re: connect to postgres from shell scripts
Дата
Msg-id 430A0FBA.80507@metatrontech.com
обсуждение исходный текст
Ответ на connect to postgres from shell scripts  (Hemapriya <priyam_1121@yahoo.com>)
Список pgsql-admin
Hemapriya wrote:

>Hi,
>
>I would like to know how to connect to postgres from
>shell scripts using a password protected user.
>
>
psql is the simple way.

>Is there a way to embed the password in psql login.
>It keeps prompting for the passwords.
>
>
>
Use the .pgpass file to store the password.

Best Wishes,
Chris Travers
Metatron Technology Consulting

Вложения

В списке pgsql-admin по дате отправления: