pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Wells Oliver <wells.oliver@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: David G. Johnston <david.g.johnston@gmail.com>
Cc: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Re: Dump & restore in directory format and permissions are largely lost?
Date: Tue, 15 Jun 2021 18:32:55 -0700
Message-ID: <CAOC+FBWCXatLexA5cqG+BEkPyeyNO4eHj8VaEcDOsU2Ub7eu+g@mail.gmail.com> (raw)
In-Reply-To: <592237.1623807036@sss.pgh.pa.us>
References: <CAOC+FBUk6FGOa0NGaFKX_jJTmOgN-xLTWFKm5MsdnDRqoQ9p-g@mail.gmail.com>
	<CAKFQuwYHezea03kxRTcHg3Jo8+c-xQo8TXdDipHj6woaKacGCw@mail.gmail.com>
	<CAOC+FBVYfA9y=QL2rvW751t3FffryTTyCJF40-phG5wEomOc9g@mail.gmail.com>
	<591499.1623806357@sss.pgh.pa.us>
	<CAOC+FBUuZ6gvhtxZknn_NbH0eMh3CTS8bf1Toq+XxPp7E4c5yg@mail.gmail.com>
	<592237.1623807036@sss.pgh.pa.us>

Ah, I'm sorry, is there a way to see grants contained in a dump?

On Tue, Jun 15, 2021 at 6:30 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:

> Wells Oliver <wells.oliver@gmail.com> 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
>


-- 
Wells Oliver
wells.oliver@gmail.com <wellsoliver@gmail.com>

view thread (9+ messages)  latest in thread

Message-ID: <CAOC+FBWCXatLexA5cqG+BEkPyeyNO4eHj8VaEcDOsU2Ub7eu+g@mail.gmail.com>
Permalink:  ../CAOC+FBWCXatLexA5cqG+BEkPyeyNO4eHj8VaEcDOsU2Ub7eu+g@mail.gmail.com/
Also on:    postgresql.org/message-id/CAOC+FBWCXatLexA5cqG+BEkPyeyNO4eHj8VaEcDOsU2Ub7eu+g@mail.gmail.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: wells.oliver@gmail.com, tgl@sss.pgh.pa.us, david.g.johnston@gmail.com
  Subject: Re: Dump & restore in directory format and permissions are largely lost?
  In-Reply-To: <CAOC+FBWCXatLexA5cqG+BEkPyeyNO4eHj8VaEcDOsU2Ub7eu+g@mail.gmail.com>

* 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