Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1guFct-0008PY-Sn for pgsql-admin@arkaria.postgresql.org; Thu, 14 Feb 2019 11:56:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1guFcs-0005Lg-Fp for pgsql-admin@arkaria.postgresql.org; Thu, 14 Feb 2019 11:56:22 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1guFcr-0005LK-Lk for pgsql-admin@lists.postgresql.org; Thu, 14 Feb 2019 11:56:22 +0000 Received: from resqmta-ch2-01v.sys.comcast.net ([2001:558:fe21:29:69:252:207:33]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1guFco-0004rD-R8 for pgsql-admin@lists.postgresql.org; Thu, 14 Feb 2019 11:56:20 +0000 Received: from resomta-ch2-06v.sys.comcast.net ([69.252.207.102]) by resqmta-ch2-01v.sys.comcast.net with ESMTP id uF7lg0u4oZslLuFcmgrVrg; Thu, 14 Feb 2019 11:56:16 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20161114; t=1550145376; bh=RkOE8NTaaDL8hJZeWJLUo1QLE+r7nguucqdUeES1DtQ=; h=Received:Received:Content-Type:Mime-Version:Subject:From:Date: Message-Id:To; b=NHRBTtSxyetQnHYJc/39XSms8pqoEcpt1t6VPsY/WVaVcsrO7Zx70/YXxa0lIBkOQ JklCxxTrlLmlWYzAY2lHDchndf/us8lyYf/d/AxeJHnd+XoLbjt+E095fgnm9GGaOo A3u/ZZnOesiITuFUf20ORdA9VeO/RgYA4GAuf/w2IX6Wy/bq6BUuLkv+De2elFeoMt DaCay4XHyqIyk0ZahidbFGitbfQCt+KV5X3tE/4gj16lHNGAKbha1N/Ni8NVWtD19c ph9BkIxmxiEag4Bf9VLeW1pKoxovKw3uu1Y7Z9qowAebUwyeSxfM8aJUVvb3Xf0c+V dTLbHD2n1ulFQ== Received: from [IPv6:2601:240:d080:12b4:2d2e:9325:f1e:8bff] ([IPv6:2601:240:d080:12b4:2d2e:9325:f1e:8bff]) by resomta-ch2-06v.sys.comcast.net with ESMTPA id uFckgLrWGpWxCuFclgREhC; Thu, 14 Feb 2019 11:56:16 +0000 X-Xfinity-VMeta: sc=-100;st=legit Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: Rename or Removing Postgres user From: John Wiencek X-Mailer: iPad Mail (16C50) In-Reply-To: Date: Thu, 14 Feb 2019 05:56:14 -0600 Cc: pgsql-admin@lists.postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <9F3A3635-5DAD-4483-BE6A-D6B4ADBB0B4F@comcast.net> References: To: Devendra Yadav List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Why do you want to do this considering you are prevented because it is REQUI= RED?=20 Sent from my iPad > On Feb 14, 2019, at 12:49 AM, Devendra Yadav wrot= e: >=20 > Dear Postgres Experts, >=20 > I want to know if I rename 'postgres' user to 'someuser' retaining it's pr= ivileges i.e superuser and other privileges.=20 >=20 > Or what if I drop the 'postgres' user and create a new superuser. I tried d= ropping Postgres user but it says "cannot drop role postgres because it is r= equired by the database system".=20 >=20 > 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 sugg= est. >=20 > Thanks & Regards, > Devendra