pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Laurenz Albe <laurenz.albe@cybertec.at>
To: Ron Johnson <ronljohnsonjr@gmail.com>
To: Pgsql-admin <pgsql-admin@lists.postgresql.org>
Subject: Re: Strange "permission denied" errors on pg_restore
Date: Sat, 29 Jun 2024 06:31:01 +0200
Message-ID: <792db007dcc03570743afee23aa0da830207f0cf.camel@cybertec.at> (raw)
In-Reply-To: <CANzqJaBrzXfebHJaDLRWenr4WRgvRssTgEQR_O20N0sSv9MHLw@mail.gmail.com>
References: <CANzqJaBrzXfebHJaDLRWenr4WRgvRssTgEQR_O20N0sSv9MHLw@mail.gmail.com>

On Fri, 2024-06-28 at 09:34 -0400, Ron Johnson wrote:
> pg_restore: error: COPY failed for table "batch_rp4_y2022m08": ERROR:  permission denied for schema tapschema

- Was the database you restored into totally empty?

- What was the exact "pg_restore" command line?

- What was the exact command line to take the dump?

Yours,
Laurenz Albe





view thread (11+ messages)  latest in thread

Message-ID: <792db007dcc03570743afee23aa0da830207f0cf.camel@cybertec.at>
Permalink:  ../792db007dcc03570743afee23aa0da830207f0cf.camel@cybertec.at/
Also on:    postgresql.org/message-id/792db007dcc03570743afee23aa0da830207f0cf.camel@cybertec.at

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: laurenz.albe@cybertec.at, ronljohnsonjr@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: Strange "permission denied" errors on pg_restore
  In-Reply-To: <792db007dcc03570743afee23aa0da830207f0cf.camel@cybertec.at>

* 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