Re: shell script to SQL statement: `pg_dump | psql -U`

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: shell script to SQL statement: `pg_dump | psql -U`
Дата
Msg-id 45FFFCA7.3030605@archonet.com
обсуждение исходный текст
Ответ на shell script to SQL statement: `pg_dump | psql -U`  ("filippo" <filippo2991@virgilio.it>)
Список pgsql-general
filippo wrote:
> The problem with the current implementation is that sometime pd_dump
> and psql ask for password but I want to create the database copy
> without any user typing (it is a cron script)

Consider using the PGPASSWORD environment variable or .pgpass file.

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg installation for dummies
Следующее
От: Josh Berkus
Дата:
Сообщение: Reminder: only 5 days left to submit SoC applications