ERROR: must be superuser to alter superusers

Поиск
Список
Период
Сортировка
От Philippe Lang
Тема ERROR: must be superuser to alter superusers
Дата
Msg-id 6C0CF58A187DA5479245E0830AF84F4218CF2B@poweredge.attiksystem.ch
обсуждение исходный текст
Ответы Re: ERROR: must be superuser to alter superusers  ("Scott Marlowe" <scott.marlowe@gmail.com>)
Список pgsql-general
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:

ALTER ROLE pgsql
  SUPERUSER;

... I get:

ERROR: must be superuser to alter superusers
SQL state: 42501

Since there is no superuser in the database engine anymore, what option
do I have?


I tried:

CREATE ROLE pgsql2
  SUPERUSER;

... But I get:

ERROR: must be superuser to create superusers
SQL state: 42501


Thanks,

Philippe Lang

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

Предыдущее
От: "Anoo Sivadasan Pillai"
Дата:
Сообщение: Re: Why the ERROR: duplicate key violates unique constraint "master_pkey" is raised? - Is this a Bug?
Следующее
От: David Brain
Дата:
Сообщение: pg_dump problem: 'pg_dump: schema with OID 1515546 does not exist'