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 1ltKO8-0006pl-Ra for pgsql-admin@arkaria.postgresql.org; Wed, 16 Jun 2021 01:30:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ltKO7-0005o5-Oy for pgsql-admin@arkaria.postgresql.org; Wed, 16 Jun 2021 01:30:39 +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 1ltKO7-0005nv-Ft for pgsql-admin@lists.postgresql.org; Wed, 16 Jun 2021 01:30:39 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ltKO5-0001CQ-Ku for pgsql-admin@postgresql.org; Wed, 16 Jun 2021 01:30:38 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 15G1UahV592238; Tue, 15 Jun 2021 21:30:36 -0400 From: Tom Lane To: Wells Oliver cc: "David G. Johnston" , pgsql-admin Subject: Re: Dump & restore in directory format and permissions are largely lost? In-reply-to: References: <591499.1623806357@sss.pgh.pa.us> Comments: In-reply-to Wells Oliver message dated "Tue, 15 Jun 2021 18:23:03 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <592236.1623807036.1@sss.pgh.pa.us> Date: Tue, 15 Jun 2021 21:30:36 -0400 Message-ID: <592237.1623807036@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Wells Oliver writes: > pg_restore -Fd -l db.full.dump/ | grep ACL | grep webaccess > Shows nothing, though I use this role on many schemas and relations. What do you think you're filtering for there? The -l output for ACL entries will show the names of the objects and their owners, but not the grantees. > Is there anything about this dump statement that would prevent some ACL > lines from being generated? Not that I see. regards, tom lane