Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qauiT-00AfxK-0B for pgsql-general@arkaria.postgresql.org; Tue, 29 Aug 2023 09:08:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qauiR-005Pox-RV for pgsql-general@arkaria.postgresql.org; Tue, 29 Aug 2023 09:08:51 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qanSZ-000hBP-GH for pgsql-general@lists.postgresql.org; Tue, 29 Aug 2023 01:24:00 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qanSU-001Vyb-Sr for pgsql-general@lists.postgresql.org; Tue, 29 Aug 2023 01:23:57 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 674B4320097F for ; Mon, 28 Aug 2023 21:23:52 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 28 Aug 2023 21:23:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mtneva.com; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:sender :subject:subject:to:to; s=fm2; t=1693272231; x=1693358631; bh=/b IMo4dKO/XseJ3wkOWtEuu3ArC66x6QwJgoioG6nLA=; b=sMqUnJWnFG5pMM3P1m 0TubPOOfGB3hDTkFGV9ya1lK/U4sqblw6qEYZ5aaxNk11g4Tz/KzD3TpeY1MxCek AWZXZABWoySxJVOnmUJkcvPKjK/EA6B3Fbaw2tC54JAQApu7RvCZaQE42g/+hp0M zVm1XBJg6WeM8VdOSpPB6gq55RAIdxThv4RTUXB9oYto2V5ZVuD4e638eSXT1di7 TnySwK3upacKxbZrEC63OYvwHj6ItdwpO0yVexIXlwPfU7w6+JgVr7w2nOFFaTa4 md21cxE+45Ia4HuXJDYYvn7p+4Tv9Lqd42T492EwHG5wA8+6ubhjnKK/3Q+SeJpG wi8Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:sender:subject :subject:to:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; t=1693272231; x=1693358631; bh=/bIMo4dKO/Xse J3wkOWtEuu3ArC66x6QwJgoioG6nLA=; b=jKFXqAqusK8J+1vlk3ZaKbL1kUM/Y oWTm8txooaNlg5gOEaJxd3UEDfOM64Vt0a0BQqZFu15A8yr2mNuMpHc3XNYWyg2y jZTOG33x+oA6WkMAjEePMkwgWStNSnBaCzAZemGPPNGqO8kQ23F6B9WKxitt4QEl yYtlxQg4vTP/4LirfJcjnaxuz3+3zcLav4jHqTsn/7I0vPMriyZhr4HqpWDTRUFb rSXJ1ivepmRkso71+JdIbtyRL5fQEs+JqOWpH0oTya64gdQUb9zgHv8Xx2tWZ9f0 gy1HRlqoFrvY8gwVEDYZpZn/6o62NBIj2W2DXQ4EL5pQ2/bDyWF3eF6Bw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudefhedggeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfvhffutgfgsehtkeertd dtfeejnecuhfhrohhmpefuthhurghrthcuofgtifhrrgifuceoshhmtghgrhgrfiesmhht nhgvvhgrrdgtohhmqeenucggtffrrghtthgvrhhnpeduieejleeljedvhefghfffteetke evvddufeffgeeuhfehueejgeeiveehudetvdenucffohhmrghinhepphhoshhtghhrvghs qhhlrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homhepshhmtghgrhgrfiesmhhtnhgvvhgrrdgtohhm X-ME-Proxy: Feedback-ID: i7269461c:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Mon, 28 Aug 2023 21:23:51 -0400 (EDT) Received: from [10.1.65.222] (fuji.home [10.1.65.222]) by fuji.home (Postfix) with ESMTP id 01B903A090E for ; Mon, 28 Aug 2023 19:23:48 -0600 (MDT) Message-ID: <96d6885a-5e25-9ae8-4a1a-d7e557a5fe9c@mtneva.com> Date: Mon, 28 Aug 2023 19:23:48 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Content-Language: en-US To: pgsql-general@lists.postgresql.org From: Stuart McGraw Subject: Restoring default privileges on objects Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hello, The Postgresql docs on object privileges, https://www.postgresql.org/docs/14/ddl-priv.html say this in regard to the output of the psql \dp command: | If the “Access privileges” column is empty for a given object, it | means the object has default privileges (that is, its privileges | entry in the relevant system catalog is null). [...] The first GRANT | or REVOKE on an object will instantiate the default privileges | (producing, for example, miriam=arwdDxt/miriam) and then modify them | per the specified request. If I've done a GRANT or REVOKE on some of the tables, how do I restore the default privileges so that the “Access privileges” appears empty again? I re-granted what I think are the default privileges but the "Access privileges" column for that table contains "user1=arwdDxt/user1" rather than being blank. This is Postgresql-14. Thanks for any suggestions!