pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John Wiencek <jwiencek3@comcast.net>
To: Devendra Yadav <devendra.857@gmail.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: Rename or Removing Postgres user
Date: Thu, 14 Feb 2019 05:56:14 -0600
Message-ID: <9F3A3635-5DAD-4483-BE6A-D6B4ADBB0B4F@comcast.net> (raw)
In-Reply-To: <CAE+tJY9ozN5csfYz4+=nuw0ZHKPAojt=6bDVczXH4fYSx-wu2w@mail.gmail.com>
References: <CAE+tJY9ozN5csfYz4+=nuw0ZHKPAojt=6bDVczXH4fYSx-wu2w@mail.gmail.com>

Why do you want to do this considering you are prevented because it is REQUIRED? 

Sent from my iPad

> On Feb 14, 2019, at 12:49 AM, 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





view thread (8+ messages)  latest in thread

Message-ID: <9F3A3635-5DAD-4483-BE6A-D6B4ADBB0B4F@comcast.net>
Permalink:  ../9F3A3635-5DAD-4483-BE6A-D6B4ADBB0B4F@comcast.net/
Also on:    postgresql.org/message-id/9F3A3635-5DAD-4483-BE6A-D6B4ADBB0B4F@comcast.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: jwiencek3@comcast.net, devendra.857@gmail.com
  Subject: Re: Rename or Removing Postgres user
  In-Reply-To: <9F3A3635-5DAD-4483-BE6A-D6B4ADBB0B4F@comcast.net>
  References: <CAE+tJY9ozN5csfYz4+=nuw0ZHKPAojt=6bDVczXH4fYSx-wu2w@mail.gmail.com> <9F3A3635-5DAD-4483-BE6A-D6B4ADBB0B4F@comcast.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox