Re: Regaining superuser access

Поиск
Список
Период
Сортировка
От Bernt Drange
Тема Re: Regaining superuser access
Дата
Msg-id aaad999b-500f-4c13-a738-0a35bd443b23@m73g2000hsh.googlegroups.com
обсуждение исходный текст
Ответ на Regaining superuser access  (Bernt Drange <badrange@gmail.com>)
Ответы Re: Regaining superuser access  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-admin
On Sep 18, 2:35 pm, glynast...@yahoo.co.uk (Glyn Astill) wrote:
> > The server only has one superuser, and for some reason he
> > decided to
> > remove the logon privilege on this user in PgAdmin III. So
> > now he has
> > lost superuser access to the database server.
>
> > Is there some way to override this setting? Or some way to
> > trick
> > PostgreSQL into creating a new superuser without superuser
> > access?
>
> Start it up in single user mode?
>
> http://www.postgresql.org/docs/8.3/static/app-postgres.html

Thanks a bunch!

After a lot of fiddling with being able to enter single user mode on a
windows machine (I had to figure out how to run the command line as
the correct user, then for some reason -D didn't work, but SET
PGDATA=xxx worked), I finally managed to fix my problem.

You saved my user's day (of course *I* would never do something that
stupid)!

Bernt

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: CVS for postgresql
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Regaining superuser access