Re: pg_dumpall: could not connect to database "template1": FATAL:

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: pg_dumpall: could not connect to database "template1": FATAL:
Дата
Msg-id 2cff908b-9480-abd2-d160-e7bfd2658c8b@hogranch.com
обсуждение исходный текст
Ответ на Re: pg_dumpall: could not connect to database "template1": FATAL:  (Adrian Klaver <adrian.klaver@aklaver.com>)
Список pgsql-general
On 11/13/2016 9:13 AM, Adrian Klaver wrote:

For example: How can I restart the SQL server? Oh sorry we can't help
you with this … ?

https://www.postgresql.org/docs/9.5/static/app-pg-ctl.html

the best way of doing this depends on the way postgres was installed, and varies by OS/distribution.    for instance, on RHEL/CentOS <= 6,

    service postgresql-X.Y restart

on RHEL/CentOS 7

    systemctl restart postgresql-X.Y

(both these run by root, or via sudo)


-- 
john r pierce, recycling bits in santa cruz

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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: pg_dumpall: could not connect to database "template1": FATAL:
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: Why is this query not using GIN index?