Re: Rename or Removing Postgres user

Поиск
Список
Период
Сортировка
От Federico
Тема Re: Rename or Removing Postgres user
Дата
Msg-id CAAOrQf0-YMDPCG3Qop3OcT0d4Ctn+JnG2d3eaFcWDPvC3yTUkQ@mail.gmail.com
обсуждение исходный текст
Ответ на Rename or Removing Postgres user  (Devendra Yadav <devendra.857@gmail.com>)
Список pgsql-admin
AFAIK you cannot rename the postgres default super user. The name is set with initdb.

On Thu, 14 Feb 2019, 07:50 Devendra Yadav, <devendra.857@gmail.com> wrote:
Dear Postgres Experts,

I want to know if I rename 'postgres' user to 'someuser' retaining it's privileges i.e superuser and other privileges. 

Or what if I drop the 'postgres' user and create a new superuser. I tried dropping Postgres user but it says "cannot drop role postgres because it is required by the database system". 

So my concern is what happens if I rename it. As far as I can check there's no impact, but in case anyone has faced issues regarding this, please suggest.

Thanks & Regards,
Devendra

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

Предыдущее
От: Devendra Yadav
Дата:
Сообщение: Rename or Removing Postgres user
Следующее
От: Shreeyansh Dba
Дата:
Сообщение: Re: Rename or Removing Postgres user