From: | Wells Oliver <wells(dot)oliver(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, pgsql-admin <pgsql-admin(at)postgresql(dot)org> |
Subject: | Re: Dump & restore in directory format and permissions are largely lost? |
Date: | 2021-06-16 01:32:55 |
Message-ID: | CAOC+FBWCXatLexA5cqG+BEkPyeyNO4eHj8VaEcDOsU2Ub7eu+g@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
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(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Wells Oliver <wells(dot)oliver(at)gmail(dot)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(dot)oliver(at)gmail(dot)com <wellsoliver(at)gmail(dot)com>
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2021-06-16 01:45:52 | Re: Dump & restore in directory format and permissions are largely lost? |
Previous Message | Tom Lane | 2021-06-16 01:30:36 | Re: Dump & restore in directory format and permissions are largely lost? |