Search Postgresql Archives

Re: Creating a user for pg_start_backup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux