Re: Superuser accout (PostgreSQL 9.0.4)

Поиск
Список
Период
Сортировка
От Josh Kupershmidt
Тема Re: Superuser accout (PostgreSQL 9.0.4)
Дата
Msg-id BANLkTinb5jo2CoKHnTDBC3AsbTUtCVm=sw@mail.gmail.com
обсуждение исходный текст
Ответ на Superuser accout (PostgreSQL 9.0.4)  (Grzegorz Szpetkowski <gszpetkowski@gmail.com>)
Ответы Re: Superuser accout (PostgreSQL 9.0.4)  (Grzegorz Szpetkowski <gszpetkowski@gmail.com>)
Список pgsql-novice
On Thu, Apr 7, 2011 at 11:15 PM, Grzegorz Szpetkowski
<gszpetkowski@gmail.com> wrote:
> Is there any way to restore superuser without recreating cluster from
> scratch (initdb, pg_createcluster etc.) ? Or better should PostgreSQL
> prevent for such situation (mistake command) ? I don't know is there
> any "at least one superuser per cluster rule" (?)

I think you should be able to start Postgres in single-user mode, see:
<http://www.postgresql.org/docs/9.0/static/app-postgres.html>
and from there you can fix your superuser privileges.

Josh

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

Предыдущее
От: Grzegorz Szpetkowski
Дата:
Сообщение: Valid role name (PostgreSQL 9.0.4)
Следующее
От: Andrej
Дата:
Сообщение: Re: Superuser accout (PostgreSQL 9.0.4)