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 1ltKQy-0006vm-AT for pgsql-admin@arkaria.postgresql.org; Wed, 16 Jun 2021 01:33:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ltKQx-0006Cq-5b for pgsql-admin@arkaria.postgresql.org; Wed, 16 Jun 2021 01:33:35 +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 1ltKQw-0006Ci-TI for pgsql-admin@lists.postgresql.org; Wed, 16 Jun 2021 01:33:34 +0000 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ltKQu-0001Dp-TR for pgsql-admin@postgresql.org; Wed, 16 Jun 2021 01:33:33 +0000 Received: by mail-ej1-x62c.google.com with SMTP id k25so875816eja.9 for ; Tue, 15 Jun 2021 18:33:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=xFn06mPUT0ynGnOiYMM5CZ+mzgmPdl/UFXbw2HiizaA=; b=geenegKBGBfcE/j20qwtIrYHnvzP5cSkWE/fS8QuyRJMbPnPCb4X+OGMMrxscRz9uO WcZhrGmcqsNwyHTUluu/lkPR31xbIY8zNfbuDIwAHwjC6pezx+9GsoYttEok7ZEaTzDZ sYDH2AaUWOqzJHPs6D0adhlFxWKjyjMGuAFcsHIrnx3hS+ayOo8hrJI1Uyq5V3KbuslM 97wVL61YbTgcWq5ObQDJg4Z2ckMPdnH1G8f1Mn6LS3OcgYuDJsu6/eoZODSZzuNmsNyB vP0XKtaSgOGCqhVHina+Iq5DUrhT/nE/2uJ0JEGnVFt1t06GnFL4mLh9BEGu7TSJA+rp z3sQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xFn06mPUT0ynGnOiYMM5CZ+mzgmPdl/UFXbw2HiizaA=; b=DoOXKILGyTg9+HvmyosAlEciB43CNQ/9vQU5FOb4eH+sBoDKwTpkYum2bGJpAAjP2K kjGH+47YVm701lchR07Xse/PQKMFjlofrI6IoeJNxvqKsjlDohigYiZRgZKPf+A/x/NX 3Z0R2Qe5bhAIPUe7RPLkjZg/DUr+eLEboAwRpxKIJLzJSok055vku1DzBSVJyFIgdjpV +bo0k/tws3i8MfSQiCUppePjif8fugF5KA/RACmDRgWlTQmq8PZ6Q5vHSvMxTXAAiQb8 SQj6uaChca1ffWpTEjrIV8MVKnKfJAfwfQoFPbGgVdu+JQ/JKOtXcrGZsdk9LL9cak+j Jmkw== X-Gm-Message-State: AOAM533DXam2O6ek+276I3o1nf9pRC3uIqZpPeZfwk7b4mW4NSjT/uQy OfWaEzTGyI+53J9A2dvOJPbbr53j/pJC1wl5iUs= X-Google-Smtp-Source: ABdhPJyeuJm0WGK4wTHir/dAZFsHMyiBAbJrXA9bi2YWDHSsn+lou7OXu5PwL4lH8YKlbZSn+fHSy2K0YA61hjEYhl4= X-Received: by 2002:a17:906:5488:: with SMTP id r8mr2513929ejo.374.1623807210907; Tue, 15 Jun 2021 18:33:30 -0700 (PDT) MIME-Version: 1.0 References: <591499.1623806357@sss.pgh.pa.us> <592237.1623807036@sss.pgh.pa.us> In-Reply-To: <592237.1623807036@sss.pgh.pa.us> From: Wells Oliver Date: Tue, 15 Jun 2021 18:32:55 -0700 Message-ID: Subject: Re: Dump & restore in directory format and permissions are largely lost? To: Tom Lane Cc: "David G. Johnston" , pgsql-admin Content-Type: multipart/alternative; boundary="000000000000fd6cdc05c4d8136a" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000fd6cdc05c4d8136a Content-Type: text/plain; charset="UTF-8" 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 wrote: > 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 > -- Wells Oliver wells.oliver@gmail.com --000000000000fd6cdc05c4d8136a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
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.co= m> 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?=C2=A0 The -l output for A= CL entries
will show the names of the objects and their owners, but not the grantees.<= br>
> Is there anything about this dump statement that would prevent some AC= L
> lines from being generated?

Not that I see.

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 regards, tom lane


--
--000000000000fd6cdc05c4d8136a--