Re: Creating a user for pg_start_backup

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: Creating a user for pg_start_backup
Дата
Msg-id 55AE06D1.80001@hogranch.com
обсуждение исходный текст
Ответ на Re: Creating a user for pg_start_backup  (Andrew Beverley <andy@andybev.com>)
Ответы Re: Creating a user for pg_start_backup  (Andrew Beverley <andy@andybev.com>)
Список pgsql-general
On 7/21/2015 1:31 AM, Andrew Beverley wrote:
> I had to specify a database name when connecting:
>
>      psql -U backup -c "select pg_start_backup('Daily backup')" -d postgres

psql defaults to the current user for both the database name and user
name.   I probably would have run that psql command as the system
postgres user and not specified any -U or -d ...



--
john r pierce, recycling bits in santa cruz



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

Предыдущее
От: Andrew Beverley
Дата:
Сообщение: Re: Creating a user for pg_start_backup
Следующее
От: Andrew Beverley
Дата:
Сообщение: Re: Creating a user for pg_start_backup