| От | Scott Marlowe |
|---|---|
| Тема | Re: ERROR: must be superuser to alter superusers |
| Дата | |
| Msg-id | dcc563d10709240540g7eecc79dx388b7ad34876600d@mail.gmail.com обсуждение исходный текст |
| Ответ на | ERROR: must be superuser to alter superusers ("Philippe Lang" <philippe.lang@attiksystem.ch>) |
| Список | pgsql-general |
On 9/24/07, Philippe Lang <philippe.lang@attiksystem.ch> wrote: > Hi, > > I had the very bad idea of removing the "superuser" flag from the > "pgsql" role. Now each time I try to set it back, with: That's kind of the equivalent of locking your keys in the car... > Since there is no superuser in the database engine anymore, what option > do I have? You have two choices. 1: re-initdb your database, losing everything 2: start your db in single user mode. to start your db in single user mode, you need to su - to the postgres superuser, then issue the command postgres --single. From there you can then set a user back to being a superuser.
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера