Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oxw2T-0002VP-VO for pgsql-general@arkaria.postgresql.org; Wed, 23 Nov 2022 20:08:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oxw2S-0004a3-Pz for pgsql-general@arkaria.postgresql.org; Wed, 23 Nov 2022 20:08:08 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oxw2S-0004Zt-Eu for pgsql-general@lists.postgresql.org; Wed, 23 Nov 2022 20:08:08 +0000 Received: from smtp71.iad3a.emailsrvr.com ([173.203.187.71]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oxw2L-0000FB-GF for pgsql-general@postgresql.org; Wed, 23 Nov 2022 20:08:07 +0000 X-Auth-ID: xof@thebuild.com Received: by smtp1.relay.iad3a.emailsrvr.com (Authenticated sender: xof-AT-thebuild.com) with ESMTPSA id D6A4242CC; Wed, 23 Nov 2022 15:07:59 -0500 (EST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Subject: Re: How to avoid having to run the GRANT command for newly added tables? From: Christophe Pettus In-Reply-To: Date: Wed, 23 Nov 2022 12:07:56 -0800 Cc: pgsql-general@postgresql.org Content-Transfer-Encoding: 7bit Message-Id: References: To: Siddharth Jain X-Mailer: Apple Mail (2.3608.120.23.2.7) X-Classification-ID: b006c8b0-771b-460d-88f1-84ebe1eff382-1-1 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Nov 23, 2022, at 12:06, Siddharth Jain wrote: > Is there any way to accomplish what I want? Thanks. There is: https://www.postgresql.org/docs/current/sql-alterdefaultprivileges.html