Re: Rename or Removing Postgres user

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux